[ios] Changed settings to SwiftUI

Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
Yannik Bloscheck
2025-07-09 15:15:34 +02:00
committed by Konstantin Pastbin
parent 090ed5044a
commit fdbb41e0fd
102 changed files with 1726 additions and 2609 deletions

View File

@@ -128,7 +128,7 @@ private extension AboutController {
func setupDonation() {
donationView.donateButtonDidTapHandler = { [weak self] in
guard let self else { return }
self.openUrl(self.isDonateEnabled() ? Settings.donateUrl() : L("translated_om_site_url") + "support-us/")
self.openUrl(self.isDonateEnabled() ? SettingsBridge.donateUrl() : L("translated_om_site_url") + "support-us/")
}
}
@@ -266,7 +266,7 @@ private extension AboutController {
}
func isDonateEnabled() -> Bool {
return Settings.donateUrl() != nil
return SettingsBridge.donateUrl() != nil
}
func buildInfoTableViewData() -> [AboutInfoTableViewCellModel] {