Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark Theme - Bug Fix/Improvements #1438

Merged
merged 16 commits into from
Aug 16, 2017
Merged

Dark Theme - Bug Fix/Improvements #1438

merged 16 commits into from
Aug 16, 2017

Conversation

giomfo
Copy link
Member

@giomfo giomfo commented Aug 14, 2017

WebViewViewController extends MXKWebViewViewController to handle customization.

WebViewViewController extends MXKWebViewViewController to handle customization.
@giomfo giomfo requested a review from manuroe August 14, 2017 08:33
giomfo added 6 commits August 14, 2017 13:09
Add a top view in pickers (country, language) to display the right background in case of vertical bounce.
Recents Cell drag&drop: force the background color of the dragged cell.
Customize the device info pop-up
HTML string rendering: Use the grayscale component of the secondary bg color to set the background color in the default CSS
Force the background of the default view controller displayed in landscape when no room is selected.
Handle correctly the status bar display when the current view controller is presented in a temporary navigation controller.
@giomfo giomfo changed the title Dark Theme - Improvement Dark Theme - Bug Fix/Improvements Aug 14, 2017
giomfo added 7 commits August 14, 2017 16:48
Room settings: the wrong color is used for some check box labels.
Customize correctly the encryption info views
Recents List: some room avatars have an unexpected black background.
We apply here the new property `defaultBackgroundColor` defined in MXKImageView class to initialize correctly image background.
Room preview - The sub-header has a wrong background color.
Customize correctly the event details views
Wrong sub-title color in section header after a UI theme change.
Force the background color of the fake view controller displayed when there is no details.
@@ -69,6 +69,20 @@ - (instancetype)initWithMatrixSession:(MXSession *)matrixSession

localTimeZone = [NSTimeZone localTimeZone];

CGFloat white = 1.0;
[kRiotSecondaryBgColor getWhite:&white alpha:nil];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not getting the full RGB color value ([MXKTools rgbValueWithColor"])?

[super viewDidLoad];

// Observe user interface theme change.
kRiotDesignValuesDidChangeThemeNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kRiotDesignValuesDidChangeThemeNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is kRiotDesignValuesDidChangeThemeNotificationObserver released?

@giomfo giomfo merged commit 0def825 into develop Aug 16, 2017
@giomfo giomfo deleted the meta_riot_22 branch August 16, 2017 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants