From fd2a227674f2f94b6bec7e2be27a6ec15488994a Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Sat, 6 Sep 2025 11:26:13 -0400 Subject: [PATCH] Fixes the new theme parameter --- .../src/main/java/com/vitorpamplona/amethyst/ui/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/MainActivity.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/MainActivity.kt index 8e0703715..b7cc16d45 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/MainActivity.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/MainActivity.kt @@ -72,7 +72,7 @@ class MainActivity : AppCompatActivity() { StringResSetup() val sharedPreferencesViewModel = prepareSharedViewModel() - AmethystTheme(sharedPreferencesViewModel) { + AmethystTheme(sharedPreferencesViewModel.sharedPrefs.theme) { val accountStateViewModel: AccountStateViewModel = viewModel() LaunchedEffect(key1 = Unit) {