mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 02:52:45 +02:00
Merge commit '56d9e1f6a55a93dc71149ae429eaa615a98de0d5' into feature/6076_foss_merge
* commit '56d9e1f6a55a93dc71149ae429eaa615a98de0d5': (79 commits) finish version++ version++ Translated using Weblate (Hungarian) Translated using Weblate (Italian) Translated using Weblate (Ukrainian) Translated using Weblate (Hungarian) Translated using Weblate (Slovak) Translated using Weblate (Swedish) Translated using Weblate (Indonesian) Translated using Weblate (Albanian) Translated using Weblate (Estonian) Translated using Weblate (Estonian) updated the submodule updated SDK Update the SDK. (#7819) Prepare for new sprint finish version++ version++ fix Changelog. ... # Conflicts: # Config/AppVersion.xcconfig # Podfile # Podfile.lock # Riot.xcworkspace/xcshareddata/swiftpm/Package.resolved # Riot/Managers/Settings/RiotSettings.swift # Riot/Modules/Analytics/Analytics.swift # Riot/Modules/Analytics/DecryptionFailure.swift # Riot/Modules/Analytics/PHGPostHogConfiguration.swift # Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewAction.swift # Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewModel.swift # Riot/Modules/Room/Views/Title/Preview/PreviewRoomTitleView.m # Riot/Modules/Settings/SettingsViewController.m # Riot/Utils/EventFormatter.m # Riot/Utils/Tools.m # RiotNSE/target.yml # fastlane/Fastfile # project.yml
This commit is contained in:
@@ -107,6 +107,8 @@
|
||||
|
||||
@property (nonatomic) BOOL customAnimationsEnabled;
|
||||
|
||||
@property (nonatomic) BOOL isLoadingVideo;
|
||||
|
||||
@end
|
||||
|
||||
@implementation MXKAttachmentsViewController
|
||||
@@ -976,8 +978,10 @@
|
||||
navigationBarDisplayTimer = [NSTimer scheduledTimerWithTimeInterval:5 target:self selector:@selector(hideNavigationBar) userInfo:self repeats:NO];
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (!self.isLoadingVideo)
|
||||
{
|
||||
self.isLoadingVideo = YES;
|
||||
|
||||
MXKPieChartView *pieChartView = [[MXKPieChartView alloc] initWithFrame:CGRectMake(0, 0, 40, 40)];
|
||||
pieChartView.progress = 0;
|
||||
pieChartView.progressColor = [UIColor colorWithRed:1 green:1 blue:1 alpha:0.25];
|
||||
@@ -1027,6 +1031,7 @@
|
||||
[selectedCell.moviePlayer.player play];
|
||||
|
||||
[pieChartView removeFromSuperview];
|
||||
self.isLoadingVideo = NO;
|
||||
|
||||
[self hideNavigationBar];
|
||||
}
|
||||
@@ -1042,6 +1047,7 @@
|
||||
MXLogDebug(@"[MXKAttachmentsVC] video download failed");
|
||||
|
||||
[pieChartView removeFromSuperview];
|
||||
self.isLoadingVideo = NO;
|
||||
|
||||
// Display the navigation bar so that the user can leave this screen
|
||||
self.navigationBarContainer.hidden = NO;
|
||||
|
||||
Reference in New Issue
Block a user