Skip to content

Commit

Permalink
Appeased the formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Xithrius committed Mar 24, 2022
1 parent 5cd1104 commit bbd0cc3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,16 @@ pub fn draw_ui<T: Backend>(frame: &mut Frame<T>, app: &mut App, config: &Complet

match app.state {
// States of the application that require a chunk of the main window
State::MessageInput => chunks::chatting::message_input(frame, app, verticals, config.database.mentions),
State::MessageInput => {
chunks::chatting::message_input(frame, app, verticals, config.database.mentions)
}
State::MessageSearch => chunks::message_search::search_messages(frame, app, verticals),

// States that require popups
State::Help => popups::help::show_keybinds(frame),
State::ChannelSwitch => popups::channels::switch_channels(frame, app, config.database.channels),
State::ChannelSwitch => {
popups::channels::switch_channels(frame, app, config.database.channels)
}
_ => {}
}
}

0 comments on commit bbd0cc3

Please sign in to comment.