diff --git a/src/qml/RoomPage.qml b/src/qml/RoomPage.qml index fdce1a171..11174947a 100644 --- a/src/qml/RoomPage.qml +++ b/src/qml/RoomPage.qml @@ -163,6 +163,15 @@ Kirigami.Page { Kirigami.Theme.colorSet: Kirigami.Theme.View Kirigami.Theme.inherit: false color: NeoChatConfig.compactLayout ? Kirigami.Theme.backgroundColor : "transparent" + + Image { + visible: !NeoChatConfig.compactLayout && !NeoChatConfig.blur + source: "qrc:/qt/qml/org/kde/neochat/timeline/images/chat-page-background.svg" + anchors.fill: parent + fillMode: Image.Tile + horizontalAlignment: Image.AlignLeft + verticalAlignment: Image.AlignTop + } } footer: Loader { diff --git a/src/timeline/CMakeLists.txt b/src/timeline/CMakeLists.txt index 001307bfa..200e361f1 100644 --- a/src/timeline/CMakeLists.txt +++ b/src/timeline/CMakeLists.txt @@ -79,6 +79,7 @@ ecm_add_qml_module(timeline GENERATE_PLUGIN_SOURCE images/transfer.svg images/wait.svg images/walk.svg + images/chat-page-background.svg DEPENDENCIES QtQuick ) diff --git a/src/timeline/images/chat-page-background.svg b/src/timeline/images/chat-page-background.svg new file mode 100644 index 000000000..875b3144a --- /dev/null +++ b/src/timeline/images/chat-page-background.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/timeline/images/chat-page-background.svg.license b/src/timeline/images/chat-page-background.svg.license new file mode 100644 index 000000000..73a5d3607 --- /dev/null +++ b/src/timeline/images/chat-page-background.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2022 Raghavendra Kamath + +SPDX-License-Identifier: CC-BY-SA-4.0