Add welcome dialog (#2084)

This commit is contained in:
Imran Remtulla
2025-03-16 00:05:01 -04:00
parent 46835d0876
commit 4e43001276
27 changed files with 99 additions and 1 deletions

View File

@@ -150,6 +150,15 @@ class SettingsProvider with ChangeNotifier {
return result;
}
bool get welcomeShown {
return prefs?.getBool('welcomeShown') ?? false;
}
set welcomeShown(bool welcomeShown) {
prefs?.setBool('welcomeShown', welcomeShown);
notifyListeners();
}
bool checkJustStarted() {
if (justStarted) {
justStarted = false;