diff --git a/app/src/main/java/io/github/fate_grand_automata/ui/battle_config_item/ShuffleCardsGroup.kt b/app/src/main/java/io/github/fate_grand_automata/ui/battle_config_item/ShuffleCardsGroup.kt index f6a1d3aef..cd1937103 100644 --- a/app/src/main/java/io/github/fate_grand_automata/ui/battle_config_item/ShuffleCardsGroup.kt +++ b/app/src/main/java/io/github/fate_grand_automata/ui/battle_config_item/ShuffleCardsGroup.kt @@ -6,6 +6,7 @@ import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.material3.Card import androidx.compose.material3.CardDefaults +import androidx.compose.material3.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.ui.Modifier diff --git a/app/src/main/java/io/github/fate_grand_automata/ui/card_priority/Render.kt b/app/src/main/java/io/github/fate_grand_automata/ui/card_priority/Render.kt index c650f4213..99e596029 100644 --- a/app/src/main/java/io/github/fate_grand_automata/ui/card_priority/Render.kt +++ b/app/src/main/java/io/github/fate_grand_automata/ui/card_priority/Render.kt @@ -10,6 +10,7 @@ import androidx.compose.material3.CardDefaults import androidx.compose.material3.Checkbox import androidx.compose.material3.ListItem import androidx.compose.material3.Text +import androidx.compose.material3.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.setValue diff --git a/app/src/main/java/io/github/fate_grand_automata/ui/more/AdvancedGroup.kt b/app/src/main/java/io/github/fate_grand_automata/ui/more/AdvancedGroup.kt index ef8145f10..3e816b4f9 100644 --- a/app/src/main/java/io/github/fate_grand_automata/ui/more/AdvancedGroup.kt +++ b/app/src/main/java/io/github/fate_grand_automata/ui/more/AdvancedGroup.kt @@ -14,6 +14,7 @@ import androidx.compose.material3.CardDefaults import androidx.compose.material3.CardDefaults.cardElevation import androidx.compose.material3.Switch import androidx.compose.material3.Text +import androidx.compose.material3.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf diff --git a/app/src/main/java/io/github/fate_grand_automata/ui/more/MoreOptionsScreen.kt b/app/src/main/java/io/github/fate_grand_automata/ui/more/MoreOptionsScreen.kt index 334a0c7cc..7064242d4 100644 --- a/app/src/main/java/io/github/fate_grand_automata/ui/more/MoreOptionsScreen.kt +++ b/app/src/main/java/io/github/fate_grand_automata/ui/more/MoreOptionsScreen.kt @@ -10,6 +10,7 @@ import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.material3.Card import androidx.compose.material3.CardDefaults import androidx.compose.material3.Text +import androidx.compose.material3.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.ui.Modifier diff --git a/app/src/main/java/io/github/fate_grand_automata/ui/pref_support/PreferredSupportScreen.kt b/app/src/main/java/io/github/fate_grand_automata/ui/pref_support/PreferredSupportScreen.kt index 7949d4bb0..a097df47a 100644 --- a/app/src/main/java/io/github/fate_grand_automata/ui/pref_support/PreferredSupportScreen.kt +++ b/app/src/main/java/io/github/fate_grand_automata/ui/pref_support/PreferredSupportScreen.kt @@ -9,7 +9,7 @@ import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.material3.Card -import androidx.compose.material3.CardDefaults.cardColors +import androidx.compose.material3.CardDefaults import androidx.compose.material3.CardDefaults.cardElevation import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text @@ -256,7 +256,7 @@ private fun MaxSkills( Card( elevation = cardElevation(5.dp), - colors = cardColors( + colors = CardDefaults.cardColors(( containerColor = backgroundColor, contentColor = foregroundColor )