mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Bubble collapse.
This commit is contained in:
parent
12bcf887c1
commit
31f062ed11
|
@ -284,11 +284,6 @@ typedef NS_ENUM(NSInteger, CellState) { kArchiveState, kInboxState };
|
|||
}
|
||||
|
||||
[self updateBarButtonItems];
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
TSThread *thread = [self threadForIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];
|
||||
[self presentThread:thread keyboardOnViewAppearing:NO callOnViewAppearing:NO];
|
||||
});
|
||||
}
|
||||
|
||||
- (void)viewDidAppear:(BOOL)animated
|
||||
|
|
|
@ -125,22 +125,4 @@ CGFloat ScaleFromIPhone5(CGFloat iPhone5Value);
|
|||
|
||||
@end
|
||||
|
||||
//#pragma mark -
|
||||
//
|
||||
//@interface NSLayoutConstraint (OWS)
|
||||
//
|
||||
//- (NSLayoutConstraint *)withLowPriority;
|
||||
//- (NSLayoutConstraint *)withHighPriority;
|
||||
//
|
||||
//@end
|
||||
//
|
||||
//#pragma mark -
|
||||
//
|
||||
//@interface NSArray (OWSLayout)
|
||||
//
|
||||
//- (NSArray *)withLowPriorities;
|
||||
//- (NSArray *)withHighPriorities;
|
||||
//
|
||||
//@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
|
|
@ -487,44 +487,4 @@ CGFloat ScaleFromIPhone5(CGFloat iPhone5Value)
|
|||
|
||||
@end
|
||||
|
||||
//#pragma mark -
|
||||
//
|
||||
//@implementation NSLayoutConstraint (OWS)
|
||||
//
|
||||
//- (NSLayoutConstraint *)withLowPriority
|
||||
//{
|
||||
// self.priority = UILayoutPriorityDefaultLow;
|
||||
// return self;
|
||||
//}
|
||||
//
|
||||
//- (NSLayoutConstraint *)withHighPriority
|
||||
//{
|
||||
// self.priority = UILayoutPriorityDefaultHigh;
|
||||
// return self;
|
||||
//}
|
||||
//
|
||||
//@end
|
||||
//
|
||||
//#pragma mark -
|
||||
//
|
||||
//@implementation NSArray (OWSLayout)
|
||||
//
|
||||
//- (instancetype)withLowPriorities
|
||||
//{
|
||||
// for (NSLayoutConstraint *constraint in self) {
|
||||
// constraint.priority = UILayoutPriorityDefaultLow;
|
||||
// }
|
||||
// return self;
|
||||
//}
|
||||
//
|
||||
//- (instancetype)withHighPriorities
|
||||
//{
|
||||
// for (NSLayoutConstraint *constraint in self) {
|
||||
// constraint.priority = UILayoutPriorityDefaultHigh;
|
||||
// }
|
||||
// return self;
|
||||
//}
|
||||
//
|
||||
//@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
|
|
@ -572,8 +572,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
OWSAssertIsOnMainThread();
|
||||
OWSAssert([self isAudio]);
|
||||
|
||||
// return 0;
|
||||
|
||||
NSError *error;
|
||||
AVAudioPlayer *audioPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:self.mediaURL error:&error];
|
||||
if (error && [error.domain isEqualToString:NSOSStatusErrorDomain]
|
||||
|
|
Loading…
Reference in a new issue