适配夜间模式
This commit is contained in:
@@ -16,6 +16,8 @@ import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
import androidx.compose.material3.ModalBottomSheet
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.material3.rememberModalBottomSheetState
|
||||
import androidx.compose.ui.graphics.SolidColor
|
||||
import androidx.compose.ui.text.TextStyle
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.getValue
|
||||
import androidx.compose.runtime.mutableStateOf
|
||||
@@ -180,7 +182,12 @@ fun RemoveAccountModal(
|
||||
.padding(vertical = 8.dp),
|
||||
contentAlignment = Alignment.Center
|
||||
) {
|
||||
Text(stringResource(R.string.remove_account), fontWeight = FontWeight.Bold, fontSize = 20.sp)
|
||||
Text(
|
||||
stringResource(R.string.remove_account),
|
||||
fontWeight = FontWeight.Bold,
|
||||
fontSize = 20.sp,
|
||||
color = appColors.text
|
||||
)
|
||||
}
|
||||
Box(
|
||||
modifier = Modifier
|
||||
@@ -192,7 +199,8 @@ fun RemoveAccountModal(
|
||||
stringResource(R.string.remove_account_desc),
|
||||
fontSize = 16.sp,
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
textAlign = TextAlign.Center
|
||||
textAlign = TextAlign.Center,
|
||||
color = appColors.text
|
||||
)
|
||||
}
|
||||
Text(
|
||||
@@ -201,6 +209,7 @@ fun RemoveAccountModal(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(top = 16.dp, bottom = 4.dp),
|
||||
color = appColors.text
|
||||
)
|
||||
Box(
|
||||
modifier = Modifier
|
||||
@@ -216,6 +225,8 @@ fun RemoveAccountModal(
|
||||
value = inputPassword,
|
||||
onValueChange = { inputPassword = it },
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
textStyle = TextStyle(color = appColors.text),
|
||||
cursorBrush = SolidColor(appColors.text)
|
||||
)
|
||||
}
|
||||
Spacer(modifier = Modifier.weight(1f))
|
||||
|
||||
Reference in New Issue
Block a user