mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
fix typo in logging
This commit is contained in:
parent
4f0092615a
commit
fcc4b516a5
4 changed files with 5 additions and 5 deletions
|
@ -3466,7 +3466,7 @@ typedef enum : NSUInteger {
|
|||
- (void)showApprovalDialogForAttachment:(SignalAttachment *_Nullable)attachment
|
||||
{
|
||||
if (attachment == nil) {
|
||||
OWSFailDebug(@"attachment was unexpetedly nil");
|
||||
OWSFailDebug(@"attachment was unexpectedly nil");
|
||||
[self showErrorAlertForAttachment:nil];
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ class MediaPageViewController: UIPageViewController, UIPageViewControllerDataSou
|
|||
|
||||
public func setCurrentItem(_ item: MediaGalleryItem, direction: UIPageViewControllerNavigationDirection, animated isAnimated: Bool) {
|
||||
guard let galleryPage = self.buildGalleryPage(galleryItem: item) else {
|
||||
owsFailDebug("unexpetedly unable to build new gallery page")
|
||||
owsFailDebug("unexpectedly unable to build new gallery page")
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ class MediaPageViewController: UIPageViewController, UIPageViewControllerDataSou
|
|||
self.delegate = self
|
||||
|
||||
guard let initialPage = self.buildGalleryPage(galleryItem: initialItem) else {
|
||||
owsFailDebug("unexpetedly unable to build initial gallery item")
|
||||
owsFailDebug("unexpectedly unable to build initial gallery item")
|
||||
return
|
||||
}
|
||||
self.initialPage = initialPage
|
||||
|
|
|
@ -616,7 +616,7 @@ public class MediaTileViewController: UICollectionViewController, MediaGalleryDa
|
|||
Logger.debug("with deletedSections: \(deletedSections) deletedItems: \(deletedItems)")
|
||||
|
||||
guard let collectionView = self.collectionView else {
|
||||
owsFailDebug("collectionView was unexpetedly nil")
|
||||
owsFailDebug("collectionView was unexpectedly nil")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
@ -414,7 +414,7 @@ public class AttachmentApprovalViewController: UIPageViewController, UIPageViewC
|
|||
|
||||
private func setCurrentItem(_ item: SignalAttachmentItem, direction: UIPageViewControllerNavigationDirection, animated isAnimated: Bool) {
|
||||
guard let page = self.buildPage(item: item) else {
|
||||
owsFailDebug("unexpetedly unable to build new page")
|
||||
owsFailDebug("unexpectedly unable to build new page")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue