Fix state change commented by mistake and simplify snapshot test setup (+ a couple of warnings)

This commit is contained in:
Stefan Ceriu
2024-12-17 09:31:00 +02:00
committed by Stefan Ceriu
parent 52463cdf8f
commit 598e604851
7 changed files with 72 additions and 41 deletions
@@ -36,7 +36,7 @@ struct MediaFileRoomTimelineContent: View {
let additionalWhitespaces: Int
var isAudioFile = false
var onMediaTap: (() -> Void)? = nil
var onMediaTap: (() -> Void)?
private var icon: KeyPath<CompoundIcons, Image> {
isAudioFile ? \.audio : \.attachment