mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-12 16:38:55 +03:30
Set some save button progress bar and toast message
This commit is contained in:
@@ -18,6 +18,18 @@ class Auth with ChangeNotifier {
|
||||
return token != null;
|
||||
}
|
||||
|
||||
bool isloading = false;
|
||||
|
||||
void resetLoading() {
|
||||
isloading = false;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void setLoading() {
|
||||
isloading = true;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
String? get token {
|
||||
if (_expiaryDate != null &&
|
||||
_expiaryDate!.isAfter(DateTime.now()) &&
|
||||
|
||||
Reference in New Issue
Block a user