From 69b8ff8668ffbba7e97bd6a819fa801c18e0d124 Mon Sep 17 00:00:00 2001
From: Matthew Hodgson <matthew@matrix.org>
Date: Tue, 14 Nov 2017 15:17:32 +0000
Subject: [PATCH] add fixme

---
 src/vector/index.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/vector/index.js b/src/vector/index.js
index 18c0d74f..c8d7407d 100644
--- a/src/vector/index.js
+++ b/src/vector/index.js
@@ -310,7 +310,11 @@ async function loadApp() {
                 a.removeAttribute("disabled");
 
                 // in case the Tinter.tint() in MatrixChat fires before the
-                // CSS has actually loaded (which in practice happens)
+                // CSS has actually loaded (which in practice happens)...
+
+                // FIXME: we should probably block loading the app or even
+                // showing a spinner until the theme is loaded, to avoid
+                // flashes of unstyled content.
                 a.onload = () => { 
                     Tinter.setTheme(theme);
                     Tinter.tint();