From f4018935f90257e97bf03a6eb6c5025ef5ffcc1e Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Thu, 17 Nov 2022 07:25:16 -0500 Subject: [PATCH] Re-add missing debug line --- Mastodon/Scene/Profile/Header/ProfileHeaderViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Mastodon/Scene/Profile/Header/ProfileHeaderViewController.swift b/Mastodon/Scene/Profile/Header/ProfileHeaderViewController.swift index 1a0dda44e..7ca819b41 100644 --- a/Mastodon/Scene/Profile/Header/ProfileHeaderViewController.swift +++ b/Mastodon/Scene/Profile/Header/ProfileHeaderViewController.swift @@ -199,6 +199,7 @@ extension ProfileHeaderViewController { var children: [UIMenuElement] = [] let photoLibraryAction = UIAction(title: L10n.Scene.Compose.MediaSelection.photoLibrary, image: UIImage(systemName: "rectangle.on.rectangle"), identifier: nil, discoverabilityTitle: nil, attributes: [], state: .off) { [weak self] _ in guard let self = self else { return } + os_log(.info, log: .debug, "%{public}s[%{public}ld], %{public}s: mediaSelectionType: .photoLibaray", ((#file as NSString).lastPathComponent), #line, #function) self.currentImageType = type self.present(self.imagePicker, animated: true, completion: nil) }