Use light gray in light mode and medium gray in dark for ellipsis
This commit is contained in:
committed by
William Casarin
parent
ae00c103ad
commit
5d91e7e595
@@ -13,6 +13,8 @@ struct EventMenuContext: View {
|
|||||||
let target_pubkey: String
|
let target_pubkey: String
|
||||||
let bookmarks: BookmarksManager
|
let bookmarks: BookmarksManager
|
||||||
|
|
||||||
|
@Environment(\.colorScheme) var colorScheme
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
HStack {
|
HStack {
|
||||||
Menu {
|
Menu {
|
||||||
@@ -21,12 +23,11 @@ struct EventMenuContext: View {
|
|||||||
|
|
||||||
} label: {
|
} label: {
|
||||||
Label(NSLocalizedString("", comment: "Context menu"), systemImage: "ellipsis")
|
Label(NSLocalizedString("", comment: "Context menu"), systemImage: "ellipsis")
|
||||||
.foregroundColor(Color.gray)
|
.foregroundColor(colorScheme == .light ? Color(.lightGray) : Color("DamusMediumGrey"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.contentShape(Rectangle())
|
.contentShape(Rectangle())
|
||||||
.onTapGesture {}
|
.onTapGesture {}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user