Commit Graph

15 Commits

Author SHA1 Message Date
Doug 6bae045bad 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 3729440196 Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +01:00
Doug 56f53733c8 Revert height computation for now. 2021-09-08 15:59:30 +01:00
Doug 4a33f7f1e6 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 72a89e267b 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 aace9d0a96 Show an activity indicator until the preview has loaded. 2021-09-02 17:37:48 +01:00
Doug e6449c978c 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
SBiOSoftWhare 319a324e94 Apply new user name color generation on bubble cells where needed 2019-03-07 17:46:45 +01:00
manuroe bed6b151cb reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe d94284a100 reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe 469a0b7031 reskin: kill kRiotPrimaryTextColor 2019-01-10 18:00:45 +01:00
manuroe de0f5522ff reskin: rename ColorValues to Theme 2019-01-10 15:32:59 +01:00
manuroe a7fa1134cc reskin: ColorValues: suffix UIColor properties names with "Color" 2019-01-10 15:23:22 +01:00
manuroe a28271afcb Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead 2018-11-30 17:10:28 +01:00
SBiOSoftWhare 53e9214b1d Organize views by feature 2018-07-10 10:21:20 +02:00