Address comments and cleanup version checks

This commit is contained in:
David Langley
2021-08-25 15:46:02 +01:00
parent 73b448afb6
commit 9b81730a50
11 changed files with 47 additions and 51 deletions
@@ -23,7 +23,7 @@ struct DefaultNotificationSettings: View {
var body: some View {
NotificationSettings(viewModel: viewModel)
.navigationBarTitle(VectorL10n.settingsDefault)
.navigationBarTitle(VectorL10n.settingsDefault)
}
}
@@ -34,7 +34,7 @@ struct DefaultNotifications_Previews: PreviewProvider {
DefaultNotificationSettings(
viewModel: NotificationSettingsViewModel(
notificationSettingsService: MockNotificationSettingsService.example,
ruleIds: NotificationSettingsScreen.defaultNotificaitons.pushRules
ruleIds: NotificationSettingsScreen.defaultNotifications.pushRules
)
)
.navigationBarTitleDisplayMode(.inline)