nc-photos/lib/session_storage.dart
2021-07-11 13:32:35 +08:00

16 lines
421 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 SessionStorage _inst = SessionStorage._();
}