mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 12:28:29 +00:00
Remove unnecessary test in HomeScreenRoomCell (#1611)
This commit is contained in:
@@ -117,10 +117,8 @@ struct HomeScreenRoomCell: View {
|
|||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
HStack(spacing: 8) {
|
HStack(spacing: 8) {
|
||||||
if let notificationMode = room.notificationMode {
|
notificationModeIcon
|
||||||
notificationModeIcon
|
.foregroundColor(room.hasUnreads ? .compound.iconAccentTertiary : .compound.iconQuaternary)
|
||||||
.foregroundColor(room.hasUnreads ? .compound.iconAccentTertiary : .compound.iconQuaternary)
|
|
||||||
}
|
|
||||||
|
|
||||||
if room.hasUnreads {
|
if room.hasUnreads {
|
||||||
Circle()
|
Circle()
|
||||||
|
|||||||
Reference in New Issue
Block a user