[SMS App] Fix message sending area from always having a white background
## Summary Replace the (deprecated and removed) reference to `Kirigami.Theme.viewBackgroundColor` with `Kirigami.Theme.backgroundColor` This element is necessary in order to have theme hot-switching work correctly BUG 434791 ## Test Plan ### Before: When using the KDE Connect SMS app in an un-modified dark theme, the message entry text box would be rendered as all white and text would correctly be rendered in white (making it un-readable). This seems to be somehow related to a recent Kirigami version (it only happened to me after doing a distro upgrade and my ancient Kirigami installed to ~/.prefix does not reproduce the issue). viewBackgroundColor was deprecated and apparently removed from Kirigami a version or two ago. Thus the coloring was no longer correct. For screenshots and discussion, see [bug 434791](https://bugs.kde.org/show_bug.cgi?id=434791) ### After: Text and background are rendered in the expected colours for the theme.
This commit is contained in:
parent
c08521bd23
commit
bd838d60d5
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ ColumnLayout {
|
||||||
padding: 0
|
padding: 0
|
||||||
wheelEnabled: true
|
wheelEnabled: true
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: Kirigami.Theme.viewBackgroundColor
|
color: Kirigami.Theme.backgroundColor
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|
Loading…
Reference in a new issue