mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-19 05:00:21 +02:00
Add welcome dialog (#2084)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user