updated package and added background color

This commit is contained in:
Mauro Romito
2022-12-15 18:45:33 +01:00
parent 2054cf2adc
commit 3953b7a3f2
3 changed files with 5 additions and 3 deletions

View File

@@ -23,7 +23,7 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/matrix-org/matrix-wysiwyg-composer-swift",
"state" : {
"revision" : "55266ea8f338e9c1d5c4db375713b3f902317b00"
"revision" : "2a6dccc6849ffdbc4f8b00bd22a696077f726fd3"
}
},
{

View File

@@ -44,7 +44,8 @@ class WysiwygInputToolbarView: MXKRoomInputToolbarView, NibLoadable, HtmlRoomInp
private var hostingViewController: VectorHostingController!
private var wysiwygViewModel = WysiwygComposerViewModel(
textColor: ThemeService.shared().theme.colors.primaryContent,
linkColor: ThemeService.shared().theme.colors.accent
linkColor: ThemeService.shared().theme.colors.accent,
codeBackgroundColor: ThemeService.shared().theme.selectedBackgroundColor
)
private var viewModel: ComposerViewModelProtocol!
@@ -299,6 +300,7 @@ class WysiwygInputToolbarView: MXKRoomInputToolbarView, NibLoadable, HtmlRoomInp
hostingViewController.view.backgroundColor = theme.colors.background
wysiwygViewModel.textColor = theme.colors.primaryContent
wysiwygViewModel.linkColor = theme.colors.accent
wysiwygViewModel.codeBackgroundColor = theme.selectedBackgroundColor
}
private func updateTextViewHeight() {

View File

@@ -53,7 +53,7 @@ packages:
branch: main
WysiwygComposer:
url: https://github.com/matrix-org/matrix-wysiwyg-composer-swift
revision: 55266ea8f338e9c1d5c4db375713b3f902317b00
revision: 2a6dccc6849ffdbc4f8b00bd22a696077f726fd3
DeviceKit:
url: https://github.com/devicekit/DeviceKit
majorVersion: 4.7.0