Add manual input elements to the app an ui #216

Merged
wojtek merged 17 commits from 188---add-option-for-manual-input-during-fetch into main 2024-09-15 15:20:11 +02:00
Showing only changes of commit 48e19c1f7f - Show all commits

View File

@ -24,14 +24,14 @@ impl IAppInput for AppInputMode {
self.app
}
fn confirm(self) -> Self::APP {
self.cancel()
}
fn cancel(mut self) -> Self::APP {
fn confirm(mut self) -> Self::APP {
if let AppState::Match(state) = &mut self.app {
state.submit_input(self.input)
};
self.app
}
fn cancel(self) -> Self::APP {
self.app
}
}