Low Power: Stops background feed refresh

This commit is contained in:
Stuart Breckenridge
2019-06-21 10:54:53 +08:00
parent ddfb5a8aaa
commit d9a4d42ca0
2 changed files with 8 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ struct SettingsView : View {
}
}
Section(header: Text("DATABASE")) {
Section(header: Text("DATABASE"), footer: Text("If your device is in Low Power mode feeds will not be refreshed.").lineLimit(3)) {
Picker(selection: $viewModel.refreshInterval, label: Text("Refresh Interval")) {
ForEach(RefreshInterval.allCases.identified(by: \.self)) { interval in
Text(interval.description()).tag(interval)