From 410a42bc59d7d3a817638939bd01d262f46554f8 Mon Sep 17 00:00:00 2001 From: miruka Date: Tue, 27 Aug 2019 15:07:08 -0400 Subject: [PATCH] Show EditAccount page loading until profile ready --- TODO.md | 1 - src/qml/Pages/EditAccount/EditAccount.qml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index 329cdacd..08b61d3c 100644 --- a/TODO.md +++ b/TODO.md @@ -34,7 +34,6 @@ - Terrible performance using `QT_QPA_PLATFORM=wayland-egl`, must use `xcb` - UI - - Disable edit profile when account loading - Make invite icon blink if there's no one but ourself in the room, but never do it again once the user hovered it long enough to show tooltip or clicked on it once diff --git a/src/qml/Pages/EditAccount/EditAccount.qml b/src/qml/Pages/EditAccount/EditAccount.qml index c0cf7866..80bb8026 100644 --- a/src/qml/Pages/EditAccount/EditAccount.qml +++ b/src/qml/Pages/EditAccount/EditAccount.qml @@ -12,7 +12,8 @@ HPage { property string userId: "" - readonly property bool ready: accountInfo !== "waiting" + readonly property bool ready: + accountInfo !== "waiting" && Boolean(accountInfo.profile_updated) readonly property var accountInfo: Utils.getItem( modelSources["Account"] || [], "user_id", userId