Skip to content

Commit 9722fe6

Browse files
Fixes formatting issues
Signed-off-by: Cole Gentry <peapod2007@gmail.com>
1 parent 7a3d3bd commit 9722fe6

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

src/ui/menu.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ impl UltraLogApp {
3838
.clicked()
3939
{
4040
if let Some(path) = rfd::FileDialog::new()
41-
.add_filter(
42-
"Log Files",
43-
&["csv", "log", "txt", "mlg"],
44-
)
41+
.add_filter("Log Files", &["csv", "log", "txt", "mlg"])
4542
.pick_file()
4643
{
4744
self.start_loading_file(path);

src/ui/sidebar.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,7 @@ impl UltraLogApp {
108108
.clicked()
109109
{
110110
if let Some(path) = rfd::FileDialog::new()
111-
.add_filter(
112-
"Log Files",
113-
&["csv", "log", "txt", "mlg"],
114-
)
111+
.add_filter("Log Files", &["csv", "log", "txt", "mlg"])
115112
.pick_file()
116113
{
117114
self.start_loading_file(path);

0 commit comments

Comments
 (0)