Merge pull request #6665 from vector-im/gil/6645-UI_glitches_in_dark_mode

UI glitches in dark mode
This commit is contained in:
Gil Eluard
2022-09-05 10:46:31 +02:00
committed by GitHub
8 changed files with 34 additions and 6 deletions
@@ -16,6 +16,8 @@
*/
#import "MXKRoomInputToolbarViewWithSimpleTextView.h"
#import "ThemeService.h"
#import "GeneratedInterface-Swift.h"
@implementation MXKRoomInputToolbarViewWithSimpleTextView
@@ -39,7 +41,10 @@
[super customizeViewRendering];
// Set default message composer background color
self.messageComposerTextView.backgroundColor = [UIColor whiteColor];
self.messageComposerTextView.backgroundColor = ThemeService.shared.theme.backgroundColor;
self.backgroundColor = ThemeService.shared.theme.colors.system;
self.leftInputToolbarButton.tintColor = ThemeService.shared.theme.colors.accent;
self.rightInputToolbarButton.tintColor = ThemeService.shared.theme.colors.accent;
}
- (NSString*)textMessage