refactor: Move version checks to Main.kt (#1995)

This commit is contained in:
James Rich 2025-05-31 20:36:35 -05:00 committed by GitHub
parent 8d231ff125
commit 6915249121
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 51 additions and 32 deletions

View file

@ -24,11 +24,11 @@ import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material3.AlertDialog
import androidx.compose.material3.Button
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.material3.TextButton
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.AnnotatedString
import androidx.compose.ui.text.SpanStyle
@ -55,7 +55,7 @@ fun SimpleAlertDialog(
style = SpanStyle(
textDecoration = TextDecoration.Underline,
fontStyle = FontStyle.Italic,
color = Color.Blue
color = MaterialTheme.colorScheme.tertiary
)
)
)