cargo fmt

This commit is contained in:
voxal 2022-01-01 10:26:37 -08:00
parent 41e7e25f16
commit 471e75d846

View File

@ -462,7 +462,8 @@ impl<'a> Widget for Overhead<'a> {
if !self.is_me || self.settings.speech_bubble_self {
if let Some(bubble) = self.bubble {
let dark_mode = self.settings.speech_bubble_dark_mode;
let localizer = |s: &str, i| -> String { self.i18n.get_variation(s, i).to_string() };
let localizer =
|s: &str, i| -> String { self.i18n.get_variation(s, i).to_string() };
let bubble_contents: String = bubble.message(localizer);
let (text_color, shadow_color) = bubble_color(bubble, dark_mode);
let mut text = Text::new(&bubble_contents)
@ -607,7 +608,6 @@ impl<'a> Widget for Overhead<'a> {
.set(state.ids.speech_bubble_icon, ui);
}
}
}
}