From b030ad905572e55cfb3ec5451fd0dd823ebdd2ca Mon Sep 17 00:00:00 2001 From: SBiOSoftWhare Date: Wed, 26 Jan 2022 15:47:23 +0100 Subject: [PATCH] BubbleRoomTimelineCellDecorator: Show timestamp for location sharing. --- .../Styles/Bubble/BubbleRoomTimelineCellDecorator.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Riot/Modules/Room/Views/BubbleCells/Styles/Bubble/BubbleRoomTimelineCellDecorator.swift b/Riot/Modules/Room/Views/BubbleCells/Styles/Bubble/BubbleRoomTimelineCellDecorator.swift index 2ea6ab381..5f42192a6 100644 --- a/Riot/Modules/Room/Views/BubbleCells/Styles/Bubble/BubbleRoomTimelineCellDecorator.swift +++ b/Riot/Modules/Room/Views/BubbleCells/Styles/Bubble/BubbleRoomTimelineCellDecorator.swift @@ -208,6 +208,13 @@ class BubbleRoomTimelineCellDecorator: PlainRoomTimelineCellDecorator { return false } + switch cellData.cellDataTag { + case .location: + return true + default: + break + } + switch firstEvent.eventType { case .roomMessage: if let messageTypeString = firstEvent.content["msgtype"] as? String {