ui: remove invalid zap text
This commit is contained in:
@@ -40,7 +40,6 @@ struct EventView: View {
|
|||||||
if let zap = damus.zaps.zaps[event.id] {
|
if let zap = damus.zaps.zaps[event.id] {
|
||||||
ZapEvent(damus: damus, zap: zap, is_top_zap: options.contains(.top_zap))
|
ZapEvent(damus: damus, zap: zap, is_top_zap: options.contains(.top_zap))
|
||||||
} else {
|
} else {
|
||||||
Text("Invalid Zap", comment: "Text indicating that a zap event is malformed and could not be displayed.")
|
|
||||||
EmptyView()
|
EmptyView()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user