mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-10 00:27:45 +00:00
don't show welcome wizard in spell checker settings
and show crash reports only in normal settings
This commit is contained in:
parent
122b51c0ed
commit
8c557ec42c
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ class SettingsActivity : AppCompatActivity(), SharedPreferences.OnSharedPreferen
|
||||||
mainLocale = null
|
mainLocale = null
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (crashReports.isNotEmpty()) {
|
if (!showWelcomeWizard && !spellchecker && crashReports.isNotEmpty()) {
|
||||||
ConfirmationDialog(
|
ConfirmationDialog(
|
||||||
cancelButtonText = "ignore",
|
cancelButtonText = "ignore",
|
||||||
onDismissRequest = { crashReportFiles.value = emptyList() },
|
onDismissRequest = { crashReportFiles.value = emptyList() },
|
||||||
|
@ -140,7 +140,7 @@ class SettingsActivity : AppCompatActivity(), SharedPreferences.OnSharedPreferen
|
||||||
content = { Text("Crash report files found") },
|
content = { Text("Crash report files found") },
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (showWelcomeWizard) {
|
if (!spellchecker && showWelcomeWizard) {
|
||||||
WelcomeWizard(close = { showWelcomeWizard = false }, finish = this::finish)
|
WelcomeWizard(close = { showWelcomeWizard = false }, finish = this::finish)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue