MESSENGER-5386 change alert appearance

This commit is contained in:
JanNiklas Grabowski
2024-01-25 11:11:45 +01:00
parent 81a6a1cd73
commit 30b2ba61bb
@@ -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)
])
}