Undo accidental commit

pull/198/head
nielsandriesse 5 years ago
parent 9e8b50ff49
commit 7c72667ee6

@ -1056,7 +1056,7 @@ typedef enum : NSUInteger {
BOOL shouldDetachBanner = !isContactThread;
if (isContactThread) {
TSContactThread *thread = (TSContactThread *)self.thread;
// if (thread.sessionRestoreDevices.count > 0) {
if (thread.sessionRestoreDevices.count > 0) {
if (self.restoreSessionBannerView == nil) {
LKSessionRestorationView *bannerView = [[LKSessionRestorationView alloc] initWithThread:thread];
[self.view addSubview:bannerView];
@ -1072,9 +1072,9 @@ typedef enum : NSUInteger {
[thread removeAllSessionRestoreDevicesWithTransaction:nil];
}];
}
// } else {
// shouldDetachBanner = true;
// }
} else {
shouldDetachBanner = true;
}
}
if (shouldDetachBanner && self.restoreSessionBannerView != nil) {
[self.restoreSessionBannerView removeFromSuperview];

@ -81,8 +81,8 @@
SUBQUERY (
$extensionItem.attachments,
$attachment,
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.data"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url"
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.data"
|| ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url"
).@count >= 1
).@count == 1
</string>

Loading…
Cancel
Save