Skip to content

Commit 43c3080

Browse files
committed
minor fix to bytes notification settings text input
1 parent d71fe0a commit 43c3080

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gui/pages/settings_notifications_page.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ fn input_group_bytes<'a>(
324324
.push(
325325
TextInput::new(
326326
"0",
327-
if curr_threshold_str == "0" {
327+
if curr_threshold_str.starts_with('0') {
328328
""
329329
} else {
330330
&curr_threshold_str

0 commit comments

Comments
 (0)