Skip to content

Commit

Permalink
Merge branch 'release/tchap_v1.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
giomfo committed Apr 11, 2021
2 parents e14cdb3 + 80ab894 commit f28ffe9
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 3 deletions.
8 changes: 8 additions & 0 deletions TCHAP_CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Changes in Tchap 1.2.1 (2021-04-12)
===================================================

Bug Fixes:
* Crash when the user selects "forward" on a selected message
* Favorite messages are not readable in dark mode
* Share extension: the rooms list are not readable in dark mode

Changes in Tchap 1.2.0 (2021-03-24)
===================================================

Expand Down
4 changes: 2 additions & 2 deletions Tchap.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9874,7 +9874,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 1.2.0;
MARKETING_VERSION = 1.2.1;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -9926,7 +9926,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 1.2.0;
MARKETING_VERSION = 1.2.1;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ final class FavouriteMessagesViewController: UIViewController {
private func update(style: Style) {
self.currentStyle = style

self.tableView.backgroundColor = style.backgroundColor;
self.view.backgroundColor = style.backgroundColor

if let navigationBar = self.navigationController?.navigationBar {
Expand Down
2 changes: 1 addition & 1 deletion Tchap/Modules/Forward/ForwardDataSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ForwardDataSource: MXKRecentsDataSource {
continue
}

if let recentCellData = MXKRecentCellData(roomSummary: summary, andRecentListDataSource: nil) {
if let recentCellData = MXKRecentCellData(roomSummary: summary, andRecentListDataSource: nil), recentCellData.roomDisplayname != nil {
self.cellDataArray.append(recentCellData)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ import UIKit
override func update(style: Style) {
super.update(style: style)
self.domainLabel.textColor = style.primarySubTextColor

self.contentView.backgroundColor = style.backgroundColor
}

func renderedCellData() -> MXKCellData! {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class ShareRoomsRoomCell: RoomsCell {

override func update(style: Style) {
super.update(style: style)

self.contentView.backgroundColor = style.backgroundColor
}

private func updateAvatarView () {
Expand Down

0 comments on commit f28ffe9

Please sign in to comment.