File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -771,7 +771,7 @@ impl eframe::App for LogViewerApp {
771
771
ui. add_space ( 16.0 ) ;
772
772
}
773
773
774
- egui:: widgets:: global_dark_light_mode_buttons ( ui) ;
774
+ egui:: widgets:: global_theme_preference_buttons ( ui) ;
775
775
} ) ;
776
776
} ) ;
777
777
@@ -799,7 +799,7 @@ impl eframe::App for LogViewerApp {
799
799
ui. heading ( "Details" ) ;
800
800
} ) ;
801
801
egui:: ScrollArea :: horizontal ( )
802
- . id_source ( "details area" )
802
+ . id_salt ( "details area" )
803
803
. show ( ui, |ui| {
804
804
ui. push_id ( "table details" , |ui| self . show_log_details ( ui) ) ;
805
805
} ) ;
@@ -810,7 +810,7 @@ impl eframe::App for LogViewerApp {
810
810
811
811
egui:: CentralPanel :: default ( ) . show_inside ( ui, |ui| {
812
812
egui:: ScrollArea :: horizontal ( )
813
- . id_source ( "log lines" )
813
+ . id_salt ( "log lines" )
814
814
. show ( ui, |ui| {
815
815
ui. push_id ( "table log lines" , |ui| self . show_log_lines ( ui) ) ;
816
816
} ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ async fn main() -> eframe::Result<()> {
20
20
eframe:: run_native (
21
21
"Log Viewer" ,
22
22
native_options,
23
- Box :: new ( |cc| Box :: new ( log_viewer:: LogViewerApp :: new ( cc) ) ) ,
23
+ Box :: new ( |cc| Ok ( Box :: new ( log_viewer:: LogViewerApp :: new ( cc) ) ) ) ,
24
24
)
25
25
}
26
26
You can’t perform that action at this time.
0 commit comments