mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 05:13:58 +00:00
[ios] Changed settings to SwiftUI
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
090ed5044a
commit
fdbb41e0fd
@@ -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] {
|
||||
|
||||
Reference in New Issue
Block a user