mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
MESSENGER-5386 change alert appearance
This commit is contained in:
+4
-4
@@ -326,13 +326,13 @@ extension ContactsPickerViewModel: ContactsTableViewControllerDelegate {
|
||||
canInvite = true
|
||||
} else {
|
||||
// Federation is deactivated
|
||||
self.coordinatorDelegate?.contactsPickerViewModel(self, display: BWIL10n.roomParticipantsInvitePromptFederationForRoomNotAllowedText, title: "", actions: [
|
||||
self.coordinatorDelegate?.contactsPickerViewModel(self, display: "", title: BWIL10n.roomParticipantsInvitePromptFederationForRoomNotAllowedText, actions: [
|
||||
UIAlertAction(title: VectorL10n.ok, style: .cancel)
|
||||
])
|
||||
}
|
||||
} else {
|
||||
// ServerACL not configured
|
||||
self.coordinatorDelegate?.contactsPickerViewModel(self, display: BWIL10n.roomParticipantsInvitePromptServerAclForRoomNotConfiguredText, title: "", actions: [
|
||||
self.coordinatorDelegate?.contactsPickerViewModel(self, display: "", title: BWIL10n.roomParticipantsInvitePromptServerAclForRoomNotConfiguredText, actions: [
|
||||
UIAlertAction(title: VectorL10n.ok, style: .cancel)
|
||||
])
|
||||
}
|
||||
@@ -342,13 +342,13 @@ extension ContactsPickerViewModel: ContactsTableViewControllerDelegate {
|
||||
}
|
||||
} else {
|
||||
// Show error if federation cannot be determined
|
||||
coordinatorDelegate?.contactsPickerViewModel(self, display: BWIL10n.roomParticipantsInvitePromptServerAclLoadingErrorText, title: "", actions: [
|
||||
coordinatorDelegate?.contactsPickerViewModel(self, display: "", title: BWIL10n.roomParticipantsInvitePromptServerAclLoadingErrorText, actions: [
|
||||
UIAlertAction(title: VectorL10n.ok, style: .cancel)
|
||||
])
|
||||
}
|
||||
} else {
|
||||
// Show error if federation cannot be determined
|
||||
coordinatorDelegate?.contactsPickerViewModel(self, display: BWIL10n.roomParticipantsInvitePromptServerAclLoadingErrorText, title: "", actions: [
|
||||
coordinatorDelegate?.contactsPickerViewModel(self, display: "", title: BWIL10n.roomParticipantsInvitePromptServerAclLoadingErrorText, actions: [
|
||||
UIAlertAction(title: VectorL10n.ok, style: .cancel)
|
||||
])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user