damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 39f39c7382512f1fbf1a570d258ff65dd0f65ef6
parent f2ce146e981923d87754d535932cb72cb1da28c2
Author: ericholguin <eric.holguinsanchez@gmail.com>
Date:   Wed, 29 Mar 2023 15:19:11 -0600

Remove gradient in some places for visibility

Changelog-Changed: Remove gradient in some places for visibility

Diffstat:
Mdamus/Components/WebsiteLink.swift | 2+-
Mdamus/Views/MainTabView.swift | 2+-
Mdamus/Views/Profile/ProfileView.swift | 2+-
Mdamus/Views/SearchHomeView.swift | 2+-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/damus/Components/WebsiteLink.swift b/damus/Components/WebsiteLink.swift @@ -22,7 +22,7 @@ struct WebsiteLink: View { }, label: { Text(link_text) .font(.footnote) - .foregroundStyle(LINEAR_GRADIENT) + .foregroundColor(.accentColor) }) } } diff --git a/damus/Views/MainTabView.swift b/damus/Views/MainTabView.swift @@ -47,7 +47,7 @@ struct TabButton: View { .frame(width: 10, height: 10, alignment: .topTrailing) .alignmentGuide(VerticalAlignment.center) { a in a.height + 2.0 } .alignmentGuide(HorizontalAlignment.center) { a in a.width - 12.0 } - .foregroundStyle(LINEAR_GRADIENT) + .foregroundColor(.accentColor) } } } diff --git a/damus/Views/Profile/ProfileView.swift b/damus/Views/Profile/ProfileView.swift @@ -541,7 +541,7 @@ struct KeyView: View { } icon: { Image(systemName: "square.on.square.dashed") .contentShape(Rectangle()) - .foregroundColor(.gray) + .foregroundColor(.accentColor) .frame(width: 20, height: 20) } .labelStyle(IconOnlyLabelStyle()) diff --git a/damus/Views/SearchHomeView.swift b/damus/Views/SearchHomeView.swift @@ -33,7 +33,7 @@ struct SearchHomeView: View { if(!search.isEmpty) { Text("Cancel", comment: "Cancel out of search view.") - .foregroundStyle(LINEAR_GRADIENT) + .foregroundColor(.accentColor) .padding(EdgeInsets(top: 0.0, leading: 0.0, bottom: 0.0, trailing: 10.0)) .onTapGesture { self.search = ""