don't show welcome wizard in spell checker settings

and show crash reports only in normal settings
This commit is contained in:
Helium314 2025-03-01 23:39:55 +01:00
parent 122b51c0ed
commit 8c557ec42c

View file

@ -123,7 +123,7 @@ class SettingsActivity : AppCompatActivity(), SharedPreferences.OnSharedPreferen
mainLocale = null
)
}
if (crashReports.isNotEmpty()) {
if (!showWelcomeWizard && !spellchecker && crashReports.isNotEmpty()) {
ConfirmationDialog(
cancelButtonText = "ignore",
onDismissRequest = { crashReportFiles.value = emptyList() },
@ -140,7 +140,7 @@ class SettingsActivity : AppCompatActivity(), SharedPreferences.OnSharedPreferen
content = { Text("Crash report files found") },
)
}
if (showWelcomeWizard) {
if (!spellchecker && showWelcomeWizard) {
WelcomeWizard(close = { showWelcomeWizard = false }, finish = this::finish)
}
}