mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-04 22:05:55 +00:00
cleanup
This commit is contained in:
@@ -70,11 +70,7 @@ func ciMetaText(
|
||||
}
|
||||
if showStatus {
|
||||
if let icon = meta.itemStatus.statusIcon(color, primaryColor) {
|
||||
let image = switch icon.source {
|
||||
case let .system(name): Image(systemName: name)
|
||||
case let .bundled(name): Image(name)
|
||||
}
|
||||
r = r + Text(image).foregroundColor(icon.color)
|
||||
r = r + Text(icon.image).foregroundColor(icon.color)
|
||||
} else if !meta.disappearing {
|
||||
r = r + statusIconText("circlebadge.fill", .clear) + Text(" ")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user