kdeconnect-kde/smsapp
Simon Redman bd838d60d5 [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.
2021-05-23 11:57:37 -07:00
..
qml [SMS App] Fix message sending area from always having a white background 2021-05-23 11:57:37 -07:00
attachmentinfo.cpp Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
attachmentinfo.h Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
CMakeLists.txt Default to qqc2-desktop-style 2021-03-19 00:49:24 +01:00
conversationlistmodel.cpp [SMS App] Add thumbnail preview to ConversationList 2020-09-27 03:51:17 +00:00
conversationlistmodel.h [SMS App] Add thumbnail preview to ConversationList 2020-09-27 03:51:17 +00:00
conversationmodel.cpp Adding support to send attachments to the remote device. 2020-08-31 15:35:25 +05:30
conversationmodel.h Adding support to send attachments to the remote device. 2020-08-31 15:35:25 +05:30
conversationssortfilterproxymodel.cpp Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
conversationssortfilterproxymodel.h Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
gsmasciimap.cpp Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
gsmasciimap.h Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
main.cpp Default to qqc2-desktop-style 2021-03-19 00:49:24 +01:00
Messages.sh Fix localization of app and smsapp. Patch mainly by Victor Ryzhykh. 2019-12-21 09:59:36 +02:00
org.kde.kdeconnect.sms.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2021-03-24 08:57:13 +01:00
resources.qrc Adding support to send attachments to the remote device. 2020-08-31 15:35:25 +05:30
smscharcount.h Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
smshelper.cpp [SMS App] Add thumbnail preview to ConversationList 2020-09-27 03:51:17 +00:00
smshelper.h [SMS App] Add thumbnail preview to ConversationList 2020-09-27 03:51:17 +00:00
thumbnailsprovider.cpp Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
thumbnailsprovider.h Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00