feat: with async commands instead of inline mutations phew.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -51,7 +51,7 @@ pub async fn execute(state: State) -> Result<()> {
|
||||
}
|
||||
|
||||
async fn run(terminal: &mut Terminal<CrosstermBackend<Stdout>>, state: SharedState) -> Result<()> {
|
||||
let root = match state.querier.get_available_roots() {
|
||||
let root = match state.querier.get_available_roots_async().await? {
|
||||
// TODO: maybe present choose root screen
|
||||
Some(roots) => roots.first().cloned().unwrap(),
|
||||
None => {
|
||||
|
Reference in New Issue
Block a user