File tree 2 files changed +1
-15
lines changed
2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -399,20 +399,6 @@ impl WidgetMatchEvent for MainDesktopUI {
399
399
}
400
400
}
401
401
402
- /// Actions sent to/from the rooms panel that affect the RoomsList
403
- /// or one of the RoomScreen widgets.
404
- #[ derive( Clone , DefaultNone , Debug ) ]
405
- pub enum RoomsPanelAction {
406
- None ,
407
- /// Notifies that a room was focused.
408
- RoomFocused ( SelectedRoom ) ,
409
- /// Resets the focus to none, meaning that no room has focus.
410
- FocusNone ,
411
- /// Save the dock state from the dock to the AppState.
412
- DockSave ,
413
- /// Load the room panel state from the AppState to the dock.
414
- DockLoad ,
415
- }
416
402
/// Actions sent to the MainDesktopUI widget for saving/restoring its dock state.
417
403
#[ derive( Clone , Debug , DefaultNone ) ]
418
404
pub enum MainDesktopUiAction {
Original file line number Diff line number Diff line change @@ -1488,8 +1488,8 @@ async fn async_main_loop(
1488
1488
. await ?;
1489
1489
1490
1490
// Attempt to load the previously-saved rooms panel state.
1491
+ // Include this after re-login.
1491
1492
handle_load_rooms_panel_state ( logged_in_user_id. to_owned ( ) ) ;
1492
-
1493
1493
handle_sync_service_state_subscriber ( sync_service. state ( ) ) ;
1494
1494
sync_service. start ( ) . await ;
1495
1495
let room_list_service = sync_service. room_list_service ( ) ;
You can’t perform that action at this time.
0 commit comments