Fix a couple of warnings

This commit is contained in:
Stefan Ceriu
2026-04-01 09:08:34 +03:00
committed by Stefan Ceriu
parent 09970fdbab
commit 212cd42161
4 changed files with 3 additions and 5 deletions
@@ -5,8 +5,6 @@
// Please see LICENSE files in the repository root for full details.
//
// periphery:ignore:all - this is just a roomThreadList remove this comment once generating the final file
import Combine
import SwiftUI
@@ -264,7 +264,7 @@ private extension EventBasedTimelineItemProtocol {
return locationTimelineItem.content.geoURI == nil ||
properties.replyDetails != nil ||
properties.isThreaded ? defaultInsets : .zero
case let liveLocationTimelineItem as LiveLocationRoomTimelineItem:
case is LiveLocationRoomTimelineItem:
return properties.replyDetails != nil ||
properties.isThreaded ? defaultInsets : .zero
default: