feat(tui): show authenticating throbber on launch
This commit is contained in:
1 parent
2095a00c95
commit
fc5b2cd0bb
4 files changed
+24
No files matched your search
@@ -255,6 +255,10 @@ pub fn render(frame: &mut Frame, area: Rect, focused: FocusedArea, state: &mut S
|
||||
]);
|
||||
|
||||
let (meta_text, meta_text_style) = match get_run_state(&instance.name) {
|
||||
Some(RunState::Authenticating) => (
|
||||
"Authenticating...".to_string(),
|
||||
Style::default().fg(THEME.colors.accent),
|
||||
),
|
||||
Some(RunState::Running) | Some(RunState::Starting) => (
|
||||
"Playing".to_string(),
|
||||
Style::default().fg(THEME.colors.success),
|
||||
|
||||
Reference in new issue
Block a user