Commit 0960a937 by Demid Merzlyakov

Hide unused settings.

parent 7064c018
......@@ -93,9 +93,13 @@ class SettingsCellFactory: CellFactoryProtocol {
array.append(SettingsDataSource(section: .theme, rows: [.theme]))
}
array.append(contentsOf: [SettingsDataSource(section: .units, rows: [.temperature, .wind, .pressure, .distance]),
SettingsDataSource(section: .language, rows: [.language]),
SettingsDataSource(section: .other, rows: [.manageNotifications, .locationAccess])])
array.append(contentsOf: [
SettingsDataSource(section: .units, rows: [.temperature, .wind, .pressure, .distance]),
// SettingsDataSource(section: .language, rows: [.language]),
SettingsDataSource(section: .other, rows: [
// .manageNotifications,
.locationAccess])
])
return array
}()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment