Fix most of the warnings

This commit is contained in:
Antonio Scandurra
2023-04-14 10:51:53 +02:00
parent 5666e8301e
commit 7394bf1cdc
13 changed files with 44 additions and 61 deletions
-3
View File
@@ -135,7 +135,6 @@ pub fn keystroke_label<V: View>(
// FIXME: Put the theme in it's own global so we can
// query the keystroke style on our own
keystroke_label_for(
cx.window_id(),
cx.handle().id(),
label_text,
label_style,
@@ -145,7 +144,6 @@ pub fn keystroke_label<V: View>(
}
pub fn keystroke_label_for<V: View>(
window_id: usize,
view_id: usize,
label_text: &'static str,
label_style: &ContainedText,
@@ -160,7 +158,6 @@ pub fn keystroke_label_for<V: View>(
)
.with_child({
KeystrokeLabel::new(
window_id,
view_id,
action,
keystroke_style.container,