fix typo in logging

This commit is contained in:
Michael Kirk 2018-11-26 12:31:03 -07:00
parent 4f0092615a
commit fcc4b516a5
4 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

@ -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
}

View file

@ -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
}