diff cagou/plugins/plugin_wid_chat.kv @ 441:ff548846df91

chat: use `image-loading` as source by default: not specifying source was resulting in graphical glitches (notably when the image could not be downloaded correctly). Using `image-loading` as default avoids this, and indicates to the user that something is running in background.
author Goffi <goffi@goffi.org>
date Sat, 07 Mar 2020 00:05:50 +0100
parents b5e6d36fbf9c
children f3296a7f35f3
line wrap: on
line diff
--- a/cagou/plugins/plugin_wid_chat.kv	Sat Mar 07 00:05:50 2020 +0100
+++ b/cagou/plugins/plugin_wid_chat.kv	Sat Mar 07 00:05:50 2020 +0100
@@ -155,7 +155,7 @@
             id: mess_xhtml
             size_hint: 1, None
             height: self.minimum_height
-            xhtml: root.message_xhtml or self.escape(root.message or u'')
+            xhtml: root.message_xhtml or self.escape(root.message or '')
             color: (0.74,0.74,0.24,1) if root.mess_type == "info" else (0, 0, 0, 1)
             padding: root.mess_padding
             bold: True if root.mess_type == "info" else False