We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611d687 commit 6ed06b0Copy full SHA for 6ed06b0
tinydancer/src/tinydancer.rs
@@ -103,21 +103,15 @@ impl TinyDancer {
103
db_instance: db.clone(),
104
});
105
106
- let ui_service = if enable_ui_service {
107
- Some(UiService::new(UiConfig {
108
- client_status,
109
- enable_ui_service,
110
- tui_monitor,
111
- }))
112
- } else if tui_monitor {
+ let ui_service = if enable_ui_service || tui_monitor {
113
Some(UiService::new(UiConfig {
114
client_status,
115
enable_ui_service,
116
tui_monitor,
117
}))
118
} else {
119
None
120
- };
+ };
121
122
// run
123
sample_service
0 commit comments