File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,21 +124,21 @@ impl Bus {
124124 HyperlinkInterface :: new ( bus_name. clone ( ) , node. clone ( ) ) ,
125125 )
126126 . await ?;
127- if new_interfaces. contains ( Interface :: Selection ) {
128- self . register_interface (
129- & path,
130- SelectionInterface :: new ( bus_name. clone ( ) , node. clone ( ) ) ,
131- )
127+ }
128+ if new_interfaces. contains ( Interface :: Selection ) {
129+ self . register_interface (
130+ & path,
131+ SelectionInterface :: new ( bus_name. clone ( ) , node. clone ( ) ) ,
132+ )
133+ . await ?;
134+ }
135+ if new_interfaces. contains ( Interface :: Text ) {
136+ self . register_interface ( & path, TextInterface :: new ( node. clone ( ) ) )
137+ . await ?;
138+ }
139+ if new_interfaces. contains ( Interface :: Value ) {
140+ self . register_interface ( & path, ValueInterface :: new ( node. clone ( ) ) )
132141 . await ?;
133- }
134- if new_interfaces. contains ( Interface :: Text ) {
135- self . register_interface ( & path, TextInterface :: new ( node. clone ( ) ) )
136- . await ?;
137- }
138- if new_interfaces. contains ( Interface :: Value ) {
139- self . register_interface ( & path, ValueInterface :: new ( node. clone ( ) ) )
140- . await ?;
141- }
142142 }
143143
144144 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments