Add unimplemented message to check interval option
This commit is contained in:
parent
7b871cfa9e
commit
4dbfa5df58
1 changed files with 1 additions and 2 deletions
|
@ -43,6 +43,7 @@ class SettingsPage extends StatelessWidget {
|
||||||
items: _intervalSelections.keys.map((e) => DropdownMenuItem<int>(value: e, child: Text("${_intervalSelections[e]}"))).toList(),
|
items: _intervalSelections.keys.map((e) => DropdownMenuItem<int>(value: e, child: Text("${_intervalSelections[e]}"))).toList(),
|
||||||
value: sClient.currentSettings.unreadCheckIntervalMinutes.valueOrDefault,
|
value: sClient.currentSettings.unreadCheckIntervalMinutes.valueOrDefault,
|
||||||
onChanged: (int? value) async {
|
onChanged: (int? value) async {
|
||||||
|
ScaffoldMessenger.of(context).showSnackBar(const SnackBar(content: Text("Sorry, this feature is not yet implemented.")));
|
||||||
await sClient.changeSettings(sClient.currentSettings.copyWith(unreadCheckIntervalMinutes: value));
|
await sClient.changeSettings(sClient.currentSettings.copyWith(unreadCheckIntervalMinutes: value));
|
||||||
setState(() {});
|
setState(() {});
|
||||||
},
|
},
|
||||||
|
@ -50,8 +51,6 @@ class SettingsPage extends StatelessWidget {
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
title: const Text("Check Interval"),
|
title: const Text("Check Interval"),
|
||||||
onTap: () {
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
const ListSectionHeader(name: "Other"),
|
const ListSectionHeader(name: "Other"),
|
||||||
ListTile(
|
ListTile(
|
||||||
|
|
Loading…
Reference in a new issue