Files
lunasea/lib/core/state.dart
Jagandeep Brar 6b60fda2fa [TestFlight] v4.0.0+400001 (#240)
NEW
- [Tautulli] View Activity
- [Tautulli] View activity details
- [Tautulli] View list of users
- [Tautulli] Ability to backup configuration & database
- [Tautulli] Ability to delete cache & image cache
- [Drawer] Ability to set the initial expanded state of categories (automation, clients, & monitoring)

TWEAKS
- [UI/Loader] New loading indicator
- [Home/Calendar] Separate calendar view type into its own preference
- [Home/Calendar] Show no modules enabled message when there are no automation modules enabled, not just no modules overall

FIXES
- [Profiles] Safeguarded fetching of enabled module
2020-08-24 04:06:00 -05:00

14 lines
310 B
Dart

import 'package:flutter/foundation.dart';
class LunaSeaState extends ChangeNotifier {
LunaSeaState() {
reset(initialize: true);
}
/// Reset the state of LunaSea back to the default
void reset({ bool initialize = false }) {
if(initialize) {}
notifyListeners();
}
}