From 4b4c9082037cc1aba7b04d62447f7054c19f1a84 Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Fri, 24 Mar 2023 16:16:33 -0500 Subject: [PATCH] Remove @objc attributes from expiration nag view This change should have no user impact. It just removes some unnecessary annotations. I also imported `Foundation`. --- Signal/src/views/ExpirationNagView.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Signal/src/views/ExpirationNagView.swift b/Signal/src/views/ExpirationNagView.swift index 6ca9246363..0f75e2954e 100644 --- a/Signal/src/views/ExpirationNagView.swift +++ b/Signal/src/views/ExpirationNagView.swift @@ -3,20 +3,18 @@ // SPDX-License-Identifier: AGPL-3.0-only // +import Foundation import UIKit -@objc public class ExpirationNagView: ReminderView { private static let updateLink = URL(string: "itms-apps://itunes.apple.com/app/id874139669")! - @objc convenience init() { self.init(mode: .nag, text: "") { UIApplication.shared.open(ExpirationNagView.updateLink, options: [:]) } } - @objc func updateText() { if appExpiry.isExpired { text = NSLocalizedString("EXPIRATION_ERROR", comment: "Label notifying the user that the app has expired.")