From e4b4e0eaffba9297f19307330abe3b629de8ffed Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Tue, 2 Feb 2021 11:46:09 -0800 Subject: [PATCH] Cleanup --- Localizations/Localizable.strings | 2 +- Views/UIKit/Content Views/StatusView.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Localizations/Localizable.strings b/Localizations/Localizable.strings index ca1ee25..3305f98 100644 --- a/Localizations/Localizable.strings +++ b/Localizations/Localizable.strings @@ -51,7 +51,7 @@ "attachment.media-hidden" = "Media hidden"; "attachment.type.image" = "Image"; "attachment.type.images-%ld" = "%ld images"; -"attachment.type.audio" = "Audio"; +"attachment.type.audio" = "Audio file"; "attachment.type.audios-%ld" = "%ld audio files"; "attachment.type.video" = "Video"; "attachment.type.videos-%ld" = "%ld videos"; diff --git a/Views/UIKit/Content Views/StatusView.swift b/Views/UIKit/Content Views/StatusView.swift index fc500e8..57f6020 100644 --- a/Views/UIKit/Content Views/StatusView.swift +++ b/Views/UIKit/Content Views/StatusView.swift @@ -660,6 +660,7 @@ private extension StatusView { || statusConfiguration.viewModel.configuration.isContextParent } + // swiftlint:disable:next function_body_length func accessibilityCustomActions(viewModel: StatusViewModel) -> [UIAccessibilityCustomAction] { guard !viewModel.configuration.isContextParent else { return []