mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 17:22:35 +00:00
Fixed crash when fetching user avatar on login
This commit is contained in:
@@ -32,7 +32,7 @@ class W3DHub
|
|||||||
@password.enabled = false
|
@password.enabled = false
|
||||||
btn.enabled = false
|
btn.enabled = false
|
||||||
|
|
||||||
# Todo lock whole UI until response or timeout
|
# TODO: lock whole UI until response or timeout
|
||||||
|
|
||||||
# Do network stuff
|
# Do network stuff
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ class W3DHub
|
|||||||
Store.settings[:account][:data] = account
|
Store.settings[:account][:data] = account
|
||||||
Store.settings.save_settings
|
Store.settings.save_settings
|
||||||
|
|
||||||
Cache.fetch(account.avatar_uri, force_fetch: true, async: false) if account
|
Cache.fetch(uri: account.avatar_uri, force_fetch: true, async: false) if account
|
||||||
applications = Api.applications if account
|
applications = Api.applications if account
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user