1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-10 09:18:52 +01:00
nc-photos/app/lib/session_storage.dart
2022-04-06 02:37:58 +08:00

16 lines
412 B
Dart

/// Hold non-persisted global variables
class SessionStorage {
factory SessionStorage() {
return _inst;
}
SessionStorage._();
/// Whether the range select notification has been shown to user
bool hasShowRangeSelectNotification = false;
/// Whether the drag to rearrange notification has been shown
bool hasShowDragRearrangeNotification = false;
static final _inst = SessionStorage._();
}