mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 09:32:52 +02:00
@@ -2874,7 +2874,11 @@ SignOutAlertPresenterDelegate>
|
||||
|
||||
if (accountManager.pushDeviceToken)
|
||||
{
|
||||
[account setEnablePushKitNotifications:!account.isPushKitNotificationActive];
|
||||
[account enablePushKitNotifications:!account.isPushKitNotificationActive success:^{
|
||||
[self stopActivityIndicator];
|
||||
} failure:^(NSError *error) {
|
||||
[self stopActivityIndicator];
|
||||
}];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2887,7 +2891,11 @@ SignOutAlertPresenterDelegate>
|
||||
}
|
||||
else
|
||||
{
|
||||
[account setEnablePushKitNotifications:YES];
|
||||
[account enablePushKitNotifications:YES success:^{
|
||||
[self stopActivityIndicator];
|
||||
} failure:^(NSError *error) {
|
||||
[self stopActivityIndicator];
|
||||
}];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user