File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
CellGuardAppSwift/CellGuard/User Interface Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ private struct ListPacketCell: View {
270270 HStack ( spacing: 2 ) {
271271 Image ( systemName: " simcard " )
272272 . font ( . system( size: 12 ) )
273- Text ( simSlots. map { " \( $0) " } . sorted ( ) . joined ( separator: " , " ) )
273+ Text ( simSlots. filter { $0 != 0 } . map { " \( $0) " } . sorted ( ) . joined ( separator: " , " ) )
274274 . font ( . system( size: 14 ) )
275275 }
276276 . foregroundColor ( . gray)
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ struct ConnectivityEventListEntry: View {
168168 HStack ( spacing: 2 ) {
169169 Image ( systemName: " simcard " )
170170 . font ( . system( size: 12 ) )
171- Text ( simSlots. map { $0 == 0 ? " None " : " \( $0) " } . sorted ( ) . joined ( separator: " , " ) )
171+ Text ( simSlots. filter { $0 != 0 } . map { " \( $0) " } . sorted ( ) . joined ( separator: " , " ) )
172172 . font ( . system( size: 14 ) )
173173 }
174174 . foregroundColor ( . gray)
You can’t perform that action at this time.
0 commit comments