From 98e28caae79ad2f0a75d06b4d9c435c3715bcec4 Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Fri, 25 Oct 2019 17:48:40 +0200 Subject: [PATCH] not reload record view --- Classes/LinphoneUI/UIRecordingCell.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/Classes/LinphoneUI/UIRecordingCell.m b/Classes/LinphoneUI/UIRecordingCell.m index d7c0265b3..f05f68f0e 100644 --- a/Classes/LinphoneUI/UIRecordingCell.m +++ b/Classes/LinphoneUI/UIRecordingCell.m @@ -127,9 +127,6 @@ static UILinphoneAudioPlayer *player; [activityVC setCompletionWithItemsHandler:^(UIActivityType __nullable activityType, BOOL completed, NSArray * __nullable returnedItems, NSError * __nullable activityError) { //This is used to select the same row when we get back to the recordings view. NSString *file = player.file; - //This reloads the view, if don't it's empty for some reason. Idealy we'd want to do this before closing the view but it's functionnal. - [PhoneMainView.instance popCurrentView]; - [PhoneMainView.instance changeCurrentView:RecordingsListView.compositeViewDescription]; [[(RecordingsListView *)VIEW(RecordingsListView) tableController] setSelected:file]; }]; [PhoneMainView.instance presentViewController:activityVC animated:YES completion:nil];