Add read support for m.file messages (#24)
6 files changed, 20 insertions, 0 deletions
diff --git a/resources/icons/ui/arrow-pointing-down.png b/resources/icons/ui/arrow-pointing-down.png
new file mode 100644
index 00000000..b198dcce
--- /dev/null
+++ b/resources/icons/ui/arrow-pointing-down.png
Binary files differdiff --git a/resources/icons/ui/arrow-pointing-down@2x.png b/resources/icons/ui/arrow-pointing-down@2x.png
new file mode 100644
index 00000000..4722f3bc
--- /dev/null
+++ b/resources/icons/ui/arrow-pointing-down@2x.png
Binary files differdiff --git a/resources/res.qrc b/resources/res.qrc
index cfe0bf2f..95de2ec9 100644
--- a/resources/res.qrc
+++ b/resources/res.qrc
@@ -24,6 +24,8 @@
<file>icons/ui/angle-pointing-to-left@2x.png</file>
<file>icons/ui/angle-arrow-down.png</file>
<file>icons/ui/angle-arrow-down@2x.png</file>
+ <file>icons/ui/arrow-pointing-down.png</file>
+ <file>icons/ui/arrow-pointing-down@2x.png</file>
<file>icons/emoji-categories/people.png</file>
<file>icons/emoji-categories/people@2x.png</file>
diff --git a/resources/styles/nheko-dark.qss b/resources/styles/nheko-dark.qss
index 0d68acfb..1a32ced3 100644
--- a/resources/styles/nheko-dark.qss
+++ b/resources/styles/nheko-dark.qss
@@ -22,6 +22,12 @@ FlatButton {
qproperty-backgroundColor: #333;
}
+FileItem {
+ qproperty-textColor: #caccd1;
+ qproperty-backgroundColor: #414A59;
+ qproperty-iconColor: #caccd1;
+}
+
RaisedButton {
qproperty-foregroundColor: #caccd1;
qproperty-backgroundColor: #333;
diff --git a/resources/styles/nheko.qss b/resources/styles/nheko.qss
index 4840e9b5..3e889530 100644
--- a/resources/styles/nheko.qss
+++ b/resources/styles/nheko.qss
@@ -21,6 +21,12 @@ FlatButton {
qproperty-foregroundColor: #333;
}
+FileItem {
+ qproperty-textColor: #333;
+ qproperty-backgroundColor: #f2f2f2;
+ qproperty-iconColor: white;
+}
+
RaisedButton {
qproperty-foregroundColor: white;
}
diff --git a/resources/styles/system.qss b/resources/styles/system.qss
index 0683a48d..bce0f059 100644
--- a/resources/styles/system.qss
+++ b/resources/styles/system.qss
@@ -19,6 +19,12 @@ FlatButton {
qproperty-foregroundColor: palette(text);
}
+FileItem {
+ qproperty-textColor: palette(text);
+ qproperty-backgroundColor: palette(base);
+ qproperty-iconColor: palette(window);
+}
+
RaisedButton {
qproperty-foregroundColor: palette(light);
}
|