mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Fixes
This commit is contained in:
@@ -17,7 +17,7 @@ class W3DHub
|
|||||||
|
|
||||||
flow(width: 1.0) do
|
flow(width: 1.0) do
|
||||||
tagline "Username", width: 0.25, text_align: :right
|
tagline "Username", width: 0.25, text_align: :right
|
||||||
@username = edit_line "", width: 0.75, focus: true
|
@username = edit_line "", width: 0.75, autofocus: true, focus: true
|
||||||
end
|
end
|
||||||
|
|
||||||
flow(width: 1.0) do
|
flow(width: 1.0) do
|
||||||
@@ -94,6 +94,7 @@ class W3DHub
|
|||||||
def depopulate_account_info
|
def depopulate_account_info
|
||||||
Store.settings[:account][:refresh_token] = nil
|
Store.settings[:account][:refresh_token] = nil
|
||||||
Store.settings.save_settings
|
Store.settings.save_settings
|
||||||
|
Store.account = nil
|
||||||
|
|
||||||
@host.instance_variable_get(:"@account_container").clear do
|
@host.instance_variable_get(:"@account_container").clear do
|
||||||
stack(width: 0.7, height: 1.0) do
|
stack(width: 0.7, height: 1.0) do
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ class W3DHub
|
|||||||
|
|
||||||
stack(width: 1.0, height: 0.78, padding: 16) do
|
stack(width: 1.0, height: 0.78, padding: 16) do
|
||||||
para @options[:message], width: 1.0
|
para @options[:message], width: 1.0
|
||||||
@prompt_entry = edit_line @options[:prefill].to_s, margin_top: 24, width: 1.0, focus: true, type: @options[:input_type] == :password ? :password : :text
|
@prompt_entry = edit_line @options[:prefill].to_s, margin_top: 24, width: 1.0, autofocus: true, focus: true, type: @options[:input_type] == :password ? :password : :text
|
||||||
end
|
end
|
||||||
|
|
||||||
flow(width: 1.0, height: 0.1, padding: 8) do
|
flow(width: 1.0, height: 0.1, padding: 8) do
|
||||||
|
|||||||
Reference in New Issue
Block a user