From 5a59706135c9f502382e04b4d118c02e7777db61 Mon Sep 17 00:00:00 2001 From: Vinh Nguyen <vinhnguyen2308@gmail.com> Date: Sun, 29 Oct 2023 20:01:46 +0700 Subject: [PATCH] Updates --- Clendar/Modules/Settings/SettingsViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Clendar/Modules/Settings/SettingsViewController.swift b/Clendar/Modules/Settings/SettingsViewController.swift index 09fb5a1b..962670ec 100644 --- a/Clendar/Modules/Settings/SettingsViewController.swift +++ b/Clendar/Modules/Settings/SettingsViewController.swift @@ -375,7 +375,7 @@ final class SettingsViewController: FormViewController { super.viewDidLoad() hidesBottomBarWhenPushed = true - + navigationItem.rightBarButtonItem = UIBarButtonItem(title: NSLocalizedString("Done", comment: ""), style: .done, target: self, action: #selector(dimissModal)) checkUIMode() @@ -459,7 +459,7 @@ extension SettingsViewController { } private func openWebViewController(_ url: String) { - guard let url = URL(string: "https://github.com/vinhnx/Clendar") else { return } + guard let url = URL(string: url) else { return } let webViewController = SFSafariViewController(url: url) navigationController?.present(webViewController, animated: true) }