not reload record view

This commit is contained in:
Danmei Chen 2019-10-25 17:48:40 +02:00
parent d24c7d8df7
commit 98e28caae7

View file

@ -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];