Skip to content

Commit 5606bb9

Browse files
committed
fmt
1 parent 93aba57 commit 5606bb9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gui/ui/src/component/form.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ where
7575
{
7676
Self {
7777
input: text_input::TextInput::new(placeholder, &value.value).on_input(move |s| {
78-
if bitcoin::Amount::from_str_in(&s, Denomination::Bitcoin).is_ok()
79-
|| s.is_empty()
80-
{
78+
if bitcoin::Amount::from_str_in(&s, Denomination::Bitcoin).is_ok() || s.is_empty() {
8179
on_change(s)
8280
} else {
8381
on_change(value.value.clone())

0 commit comments

Comments
 (0)