Clean up preferences on iOS

This commit is contained in:
Ivan Grachev 2022-05-04 02:12:56 +03:00
parent 279e487805
commit 22b97b54c7

View File

@ -187,7 +187,7 @@ class AccountsListViewController: UIViewController, DataStateContainer {
}
@objc private func preferencesButtonTapped() {
let actionSheet = UIAlertController(title: "❤️ " + Strings.tokenary + " ❤️", message: "Show love 4269.eth", preferredStyle: .actionSheet)
let actionSheet = UIAlertController(title: "❤️ " + Strings.tokenary + " ❤️", message: nil, preferredStyle: .actionSheet)
actionSheet.popoverPresentationController?.barButtonItem = preferencesItem
let twitterAction = UIAlertAction(title: Strings.viewOnTwitter, style: .default) { _ in
UIApplication.shared.open(URL.twitter)