mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-24 06:53:46 +00:00
[ios] Switched OSM profile to SwiftUI and redesigned it
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Yannik Bloscheck
parent
db1ef9b148
commit
15c7e71866
@@ -75,7 +75,7 @@ final class OSMView: UIView {
|
||||
|
||||
private func attributedString(for date: String) -> NSAttributedString {
|
||||
let osmLink = "OpenStreetMap.org"
|
||||
let attributedString = NSMutableAttributedString(string: String(format: L("osm_presentation"), date.trimmingCharacters(in: .punctuationCharacters)),
|
||||
let attributedString = NSMutableAttributedString(string: String(format: L("osm_explanation"), date.trimmingCharacters(in: .punctuationCharacters)),
|
||||
attributes: [.font: UIFont.regular14(),
|
||||
.foregroundColor: StyleManager.shared.theme!.colors.blackPrimaryText]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user