mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Revert "Debug scaffolding."
This reverts commit 55b725a2a29b84d5e5871ac257b4c2f5ce923812.
This commit is contained in:
parent
da13dc1d2e
commit
e3d4523bc6
|
@ -1190,19 +1190,6 @@ typedef enum : NSUInteger {
|
|||
|
||||
// Clear the "on open" state after the view has been presented.
|
||||
self.actionOnOpen = ConversationViewActionNone;
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
NSURL *_Nullable url = [[NSBundle mainBundle] URLForResource:@"qr@2x" withExtension:@"png"];
|
||||
OWSAssertDebug(url);
|
||||
|
||||
DataSource *_Nullable dataSource = [DataSourcePath dataSourceWithURL:url shouldDeleteOnDeallocation:NO];
|
||||
OWSAssertDebug(dataSource);
|
||||
SignalAttachment *attachment = [SignalAttachment attachmentWithDataSource:dataSource
|
||||
dataUTI:(NSString *)kUTTypePNG
|
||||
imageQuality:TSImageQualityOriginal];
|
||||
|
||||
[self showApprovalDialogForAttachments:@[ attachment ]];
|
||||
});
|
||||
}
|
||||
|
||||
// `viewWillDisappear` is called whenever the view *starts* to disappear,
|
||||
|
|
|
@ -481,12 +481,6 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations
|
|||
[self.searchResultsController viewDidAppear:animated];
|
||||
|
||||
self.hasEverAppeared = YES;
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:HomeViewControllerSectionConversations];
|
||||
TSThread *thread = [self threadForIndexPath:indexPath];
|
||||
[self presentThread:thread action:ConversationViewActionNone animated:YES];
|
||||
});
|
||||
}
|
||||
|
||||
- (void)viewDidDisappear:(BOOL)animated
|
||||
|
|
Loading…
Reference in a new issue