Update healthcheck policy
This commit is contained in:
@@ -22,6 +22,7 @@ class AppState with ChangeNotifier {
|
||||
String _currentLabel;
|
||||
SystemColorSchemes _systemColorSchemes;
|
||||
List<Group> _groups;
|
||||
num _sortNum;
|
||||
|
||||
AppState()
|
||||
: _navigationItems = [],
|
||||
@@ -32,6 +33,7 @@ class AppState with ChangeNotifier {
|
||||
_logs = [],
|
||||
_groups = [],
|
||||
_packages = [],
|
||||
_sortNum = 0,
|
||||
_systemColorSchemes = SystemColorSchemes();
|
||||
|
||||
String get currentLabel => _currentLabel;
|
||||
@@ -159,6 +161,15 @@ class AppState with ChangeNotifier {
|
||||
}
|
||||
}
|
||||
|
||||
num get sortNum => _sortNum;
|
||||
|
||||
set sortNum(num value) {
|
||||
if (_sortNum != value) {
|
||||
_sortNum = value;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
||||
List<Group> getCurrentGroups(Mode mode) {
|
||||
switch (mode) {
|
||||
case Mode.direct:
|
||||
|
||||
Reference in New Issue
Block a user