commit 5d91e7e595903300f8b08a4eea81b8f5a721577b
parent ae00c103ad490042fd3c811f45777f499209859a
Author: ericholguin <eric.holguinsanchez@gmail.com>
Date: Tue, 7 Mar 2023 21:27:00 -0700
Use light gray in light mode and medium gray in dark for ellipsis
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/damus/Views/Events/EventMenu.swift b/damus/Views/Events/EventMenu.swift
@@ -13,6 +13,8 @@ struct EventMenuContext: View {
let target_pubkey: String
let bookmarks: BookmarksManager
+ @Environment(\.colorScheme) var colorScheme
+
var body: some View {
HStack {
Menu {
@@ -21,12 +23,11 @@ struct EventMenuContext: View {
} label: {
Label(NSLocalizedString("", comment: "Context menu"), systemImage: "ellipsis")
- .foregroundColor(Color.gray)
+ .foregroundColor(colorScheme == .light ? Color(.lightGray) : Color("DamusMediumGrey"))
}
}
.contentShape(Rectangle())
.onTapGesture {}
-
}
}