diff --git a/Riot/Modules/Settings/Notifications/Model/NotificationActions.swift b/Riot/Modules/Settings/Notifications/Model/NotificationActions.swift index f8284b9a9..519c71116 100644 --- a/Riot/Modules/Settings/Notifications/Model/NotificationActions.swift +++ b/Riot/Modules/Settings/Notifications/Model/NotificationActions.swift @@ -17,7 +17,7 @@ import Foundation /** - The actions defined on a push rule, used int he static push rule definitions. + The actions defined on a push rule, used in the static push rule definitions. */ struct NotificationActions { let notify: Bool diff --git a/Riot/Modules/Settings/Notifications/Model/NotificationIndex.swift b/Riot/Modules/Settings/Notifications/Model/NotificationIndex.swift index 1605f2946..f4d038fca 100644 --- a/Riot/Modules/Settings/Notifications/Model/NotificationIndex.swift +++ b/Riot/Modules/Settings/Notifications/Model/NotificationIndex.swift @@ -18,7 +18,7 @@ import Foundation /** Index that determines the state of the push setting. - Silent case is un-unsed on iOS but keepingin for consistency of + Silent case is un-unsed on iOS but keeping in for consistency of definition across the platforms. */ enum NotificationIndex { @@ -31,7 +31,7 @@ extension NotificationIndex: CaseIterable { } extension NotificationIndex { /** - Used to map the on/off checkarks to an index used in the static push rule definitions. + Used to map the on/off checkmarks to an index used in the static push rule definitions. */ static func index(enabled: Bool) -> NotificationIndex { return enabled ? .noisy : .off