fix(tui): fix launch panic, highlight search matches

This commit is contained in:
objz committed 2025-12-27 15:41:05 +01:00
1 parent 41a63e16c4
commit 14fd9d1ebc
4 files changed
+49 -6

No files matched your search

+1 -3
View File
@@ -239,9 +239,7 @@ pub async fn launch(
Some(acc) => {
let token = match acc.account_type {
crate::auth::AccountType::Microsoft => {
match tokio::runtime::Handle::current()
.block_on(crate::auth::refresh_and_get_token(acc))
{
match crate::auth::refresh_and_get_token(acc).await {
Ok(t) => t,
Err(e) => {
tracing::error!("Token refresh failed: {e}");