chore: refactor the compose modal (#156)

* .

* update

* clean up
This commit is contained in:
reya
2025-09-18 08:39:24 +07:00
committed by GitHub
parent c12856cda0
commit 4164651342
7 changed files with 361 additions and 377 deletions

View File

@@ -781,6 +781,11 @@ impl InputState {
self
}
/// Get the loading state of the input field.
pub fn loading(&self, _cx: &App) -> bool {
self.loading
}
/// Set true to show indicator at the input right.
pub fn set_loading(&mut self, loading: bool, cx: &mut Context<Self>) {
self.loading = loading;