mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-06 07:57:42 +02:00
BugFix: 'Enable notifications on your device' toggle spills over the side on an iPhone 5 display.
https://github.com/vector-im/vector-ios/issues/167
This commit is contained in:
@@ -186,7 +186,7 @@
|
||||
"settings_phone_number" = "Phone Number";
|
||||
"settings_night_mode" = "Night Mode";
|
||||
|
||||
"settings_enable_push_notif" = "Enable notifications on your device";
|
||||
"settings_enable_push_notif" = "Notifications on this device";
|
||||
"settings_global_settings_info" = "Global notification settings are available on your Vector web client";
|
||||
//"settings_enable_all_notif" = "Enable all notifications";
|
||||
//"settings_messages_my_display_name" = "Msg containing my display name";
|
||||
|
||||
@@ -710,9 +710,10 @@
|
||||
|
||||
enableAllCell.mxkLabel.text = NSLocalizedStringFromTable(@"settings_enable_push_notif", @"Vector", nil);
|
||||
enableAllCell.mxkSwitch.on = account.pushNotificationServiceIsActive;
|
||||
[enableAllCell.mxkSwitch removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
|
||||
[enableAllCell.mxkSwitch removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
|
||||
[enableAllCell.mxkSwitch addTarget:self action:@selector(togglePushNotifications:) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
||||
[enableAllCell layoutIfNeeded];
|
||||
cell = enableAllCell;
|
||||
}
|
||||
else if (row == NOTIFICATION_SETTINGS_GLOBAL_SETTINGS_INDEX)
|
||||
|
||||
Reference in New Issue
Block a user