Chore: Fmt

This commit is contained in:
sleepycatcoding 2023-07-16 15:10:28 +03:00 committed by Nathan Adams
parent 2bcfc25b9f
commit df4ee7fe05
1 changed files with 3 additions and 1 deletions

View File

@ -158,7 +158,9 @@ impl OpenDialog {
ui.label(text(&self.locale, "socket-behavior"));
ComboBox::from_id_source("open-file-advanced-options-socket-behavior")
.selected_text(match self.options.socket_behavior {
SocketBehavior::Unrestricted => text(&self.locale, "socket-behavior-unrestricted"),
SocketBehavior::Unrestricted => {
text(&self.locale, "socket-behavior-unrestricted")
}
SocketBehavior::Ask => text(&self.locale, "socket-behavior-ask"),
SocketBehavior::Deny => text(&self.locale, "socket-behavior-deny"),
})