1 files changed, 7 insertions, 6 deletions
diff --git a/resources/qml/voip/DeviceError.qml b/resources/qml/voip/DeviceError.qml
index a6411b95..81872ef7 100644
--- a/resources/qml/voip/DeviceError.qml
+++ b/resources/qml/voip/DeviceError.qml
@@ -4,19 +4,13 @@ import QtQuick.Layouts 1.2
import im.nheko 1.0
Popup {
-
property string errorString
property var image
modal: true
anchors.centerIn: parent
- background: Rectangle {
- color: colors.window
- border.color: colors.windowText
- }
RowLayout {
-
Image {
Layout.preferredWidth: 16
Layout.preferredHeight: 16
@@ -27,5 +21,12 @@ Popup {
text: errorString
color: colors.windowText
}
+
}
+
+ background: Rectangle {
+ color: colors.window
+ border.color: colors.windowText
+ }
+
}
|