Show EditAccount page loading until profile ready

This commit is contained in:
miruka 2019-08-27 15:07:08 -04:00
parent 6cb7589cca
commit 410a42bc59
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,6 @@
- Terrible performance using `QT_QPA_PLATFORM=wayland-egl`, must use `xcb` - Terrible performance using `QT_QPA_PLATFORM=wayland-egl`, must use `xcb`
- UI - UI
- Disable edit profile when account loading
- Make invite icon blink if there's no one but ourself in the room, - 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 but never do it again once the user hovered it long enough to show tooltip
or clicked on it once or clicked on it once

View File

@ -12,7 +12,8 @@ HPage {
property string userId: "" 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( readonly property var accountInfo: Utils.getItem(
modelSources["Account"] || [], "user_id", userId modelSources["Account"] || [], "user_id", userId