Commit Graph

13 Commits

Author SHA1 Message Date
Doug ac3b2c1677 Include URL previews in addVerticalWhitespaceToString:forEvent: and remove heightForCellData:withMaximumWidth: from the various TextMsgBubbleCell subclasses.
Use the bubble cell data's available width when sizing URL previews and update the defaultAvailableWidth and reducedWidthThreshold accordingly.
2021-09-23 17:30:24 +01:00
Doug e2a0b5fc23 Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +01:00
Doug b7ed2d6d58 Revert height computation for now. 2021-09-08 15:59:30 +01:00
Doug ecf9503dc9 Update for PR feedback.
URLPreviewManager becomes URLPreviewService.
addVerticalWhitespaceToString used instead of heightForCellData multiple times.
All newline characters removed.
2021-09-08 15:10:13 +01:00
Doug ef65feb3de Add setting to disable URL previews.
Using a temporary position in the settings screen whilst waiting for feedback.
2021-09-03 10:19:26 +01:00
Doug 26e356776c Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
Doug cd87095453 Load and store URLPreviewViewData in RoomBubbleCellData.
Implement close button and store the action in Core Data. Hide the preview image view when no image is received. Remove line breaks in description text.
2021-09-01 10:37:37 +01:00
manuroe 2fdb06d879 reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe f0c22a14af reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe c702350171 reskin: rename ColorValues to Theme 2019-01-10 15:32:59 +01:00
manuroe 845775d794 reskin: ColorValues: suffix UIColor properties names with "Color" 2019-01-10 15:23:22 +01:00
manuroe 6ad603a6ca Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead 2018-11-30 17:10:28 +01:00
SBiOSoftWhare 99449e1bc8 Organize views by feature 2018-07-10 10:21:20 +02:00