[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
This commit is contained in:
Jagandeep Brar
2020-08-24 04:06:00 -05:00
committed by GitHub
parent f75a8151bc
commit 6b60fda2fa
182 changed files with 2927 additions and 443 deletions

View File

@@ -590,7 +590,7 @@ class SettingsDialogs {
await LSDialog.dialog(
context: context,
title: 'Starting Day of Week',
title: 'Starting Day',
content: List.generate(
CalendarStartingDay.values.length,
(index) => LSDialog.tile(
@@ -612,7 +612,6 @@ class SettingsDialogs {
void _setValues(bool flag, CalendarStartingSize startingSize) {
_flag = flag;
_startingSize = startingSize;
Provider.of<HomeModel>(context, listen: false).showCalendarSchedule = _startingSize == CalendarStartingSize.SCHEDULE;
Navigator.of(context).pop();
}
@@ -633,6 +632,33 @@ class SettingsDialogs {
return [_flag, _startingSize];
}
static Future<List<dynamic>> editCalendarStartingType(BuildContext context) async {
bool _flag = false;
CalendarStartingType _startingType;
void _setValues(bool flag, CalendarStartingType startingType) {
_flag = flag;
_startingType = startingType;
Navigator.of(context).pop();
}
await LSDialog.dialog(
context: context,
title: 'Starting Type',
content: List.generate(
CalendarStartingType.values.length,
(index) => LSDialog.tile(
icon: CalendarStartingType.values[index].icon,
iconColor: LSColors.list(index),
text: CalendarStartingType.values[index].name,
onTap: () => _setValues(true, CalendarStartingType.values[index]),
),
),
contentPadding: LSDialog.listDialogContentPadding(),
);
return [_flag, _startingType];
}
static Future<List<dynamic>> editBroadcastAddress(BuildContext context, String prefill) async {
bool _flag = false;
final _formKey = GlobalKey<FormState>();