mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 08:01:20 +02:00
Use app preferences
This commit is contained in:
parent
3dd78f175b
commit
9e876a85d4
18 changed files with 146 additions and 45 deletions
|
|
@ -3,6 +3,7 @@ package com.github.damontecres.dolphin
|
|||
import android.os.Bundle
|
||||
import androidx.activity.compose.setContent
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.fillMaxSize
|
||||
import androidx.compose.foundation.layout.size
|
||||
|
|
@ -57,7 +58,10 @@ class MainActivity : AppCompatActivity() {
|
|||
val scope = rememberCoroutineScope()
|
||||
DolphinTheme(true) {
|
||||
Surface(
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
modifier =
|
||||
Modifier
|
||||
.fillMaxSize()
|
||||
.background(MaterialTheme.colorScheme.background),
|
||||
shape = RectangleShape,
|
||||
) {
|
||||
CoilConfig(serverRepository, okHttpClient, false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue