From d2aa94ce614410dcb5fd14237664cd5f57626c70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Tue, 31 Oct 2023 20:08:31 +0100 Subject: [PATCH 1/2] Fix titleview animation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- NextcloudTalk/ChatViewController.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/NextcloudTalk/ChatViewController.swift b/NextcloudTalk/ChatViewController.swift index 539f43b45..c7a21904a 100644 --- a/NextcloudTalk/ChatViewController.swift +++ b/NextcloudTalk/ChatViewController.swift @@ -63,7 +63,7 @@ import UIKit let symbolConfiguration = UIImage.SymbolConfiguration(pointSize: 20) let buttonImage = UIImage(systemName: video ? "video" : "phone", withConfiguration: symbolConfiguration) - let button = BarButtonItemWithActivity(width: 44, with: buttonImage) + let button = BarButtonItemWithActivity(width: 50, with: buttonImage) button.innerButton.addAction { [unowned self] in button.showIndicator() CallKitManager.sharedInstance().startCall(self.room.token, withVideoEnabled: video, andDisplayName: self.room.displayName, silently: false, withAccountId: self.room.accountId) @@ -150,9 +150,7 @@ import UIKit if NCSettingsController.sharedInstance().callsEnabledCapability() && room.type != kNCRoomTypeChangelog && room.type != kNCRoomTypeNoteToSelf { - let fixedSpace = UIBarButtonItem(systemItem: .fixedSpace) - fixedSpace.width = 16 - self.navigationItem.rightBarButtonItems = [videoCallButton, fixedSpace, voiceCallButton] + self.navigationItem.rightBarButtonItems = [videoCallButton, voiceCallButton] } // Disable room info, input bar and call buttons until joining room From 9107b3b0e8532ac588cb5731a4849c7c8f558a02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Thu, 2 Nov 2023 16:38:04 +0100 Subject: [PATCH 2/2] Fix JDStatusBarNotification version to 2.0.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- Podfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Podfile b/Podfile index 194a8bed6..2dbe2b87f 100644 --- a/Podfile +++ b/Podfile @@ -14,7 +14,7 @@ end target "NextcloudTalk" do common_dependencies_ext pod 'DateTools' -pod 'JDStatusBarNotification' +pod 'JDStatusBarNotification', '~> 2.0.0' pod 'MaterialComponents/ActivityIndicator' pod 'Toast', '~> 4.0.0' pod 'libPhoneNumber-iOS'