Show EditAccount page loading until profile ready
This commit is contained in:
parent
6cb7589cca
commit
410a42bc59
1
TODO.md
1
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user