Formating with fmt

This commit is contained in:
micialware committed 2026-08-19 23:51:41 +03:00
1 parent de2dbaf6c1
commit bf805b79e5
13 files changed
+44 -42

No files matched your search

+2 -5
View File
@@ -600,13 +600,10 @@ impl DictionaryState {
fn add_word_button(&self) -> iced::Element<'_, DictionaryMessage> {
let state = self.state.lock().unwrap();
let group_id = state.word_groups[self.selected_group_index].id;
let button = button("Добавить слово")
.style(jl_button);
let button = button("Добавить слово").style(jl_button);
if group_id.is_valid() {
return
button.on_press(NewWord)
.into();
return button.on_press(NewWord).into();
}
button.into()