Skip to content

Commit 3b70e2c

Browse files
committed
chore(input): typo in static variable name
1 parent 2f7411a commit 3b70e2c

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

app/src/pages/input/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mod mouse;
2020
mod touchpad;
2121

2222
crate::cache_dynamic_lazy! {
23-
static ACCELERAION_DESC: String = fl!("acceleration-desc");
23+
static ACCELERATION_DESC: String = fl!("acceleration-desc");
2424
static DISABLE_WHILE_TYPING: String = fl!("disable-while-typing");
2525
static PRIMARY_BUTTON: String = fl!("primary-button");
2626
static SCROLLING_NATURAL_DESC: String = fl!("scrolling", "natural-desc");

app/src/pages/input/mouse.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fn mouse() -> Section<crate::pages::Message> {
4848
super::PRIMARY_BUTTON.as_str().into(),
4949
MOUSE_SPEED.as_str().into(),
5050
MOUSE_ACCELERATION.as_str().into(),
51-
super::ACCELERAION_DESC.as_str().into(),
51+
super::ACCELERATION_DESC.as_str().into(),
5252
])
5353
.view::<Page>(|binder, _page, section| {
5454
let input = binder.page::<super::Page>().expect("input page not found");
@@ -75,7 +75,7 @@ fn mouse() -> Section<crate::pages::Message> {
7575
)
7676
.add(
7777
settings::item::builder(&*MOUSE_ACCELERATION)
78-
.description(&*super::ACCELERAION_DESC)
78+
.description(&*super::ACCELERATION_DESC)
7979
.toggler(
8080
input
8181
.input_default

app/src/pages/input/touchpad.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
use cosmic::iced::Length;
21
use cosmic::widget::{self, settings, text};
32
use cosmic::{Apply, Element};
43
use cosmic_comp_config::input::{AccelProfile, ScrollMethod};
@@ -63,7 +62,7 @@ fn touchpad() -> Section<crate::pages::Message> {
6362
super::PRIMARY_BUTTON.as_str().into(),
6463
TOUCHPAD_SPEED.as_str().into(),
6564
TOUCHPAD_ACCELERAION.as_str().into(),
66-
super::ACCELERAION_DESC.as_str().into(),
65+
super::ACCELERATION_DESC.as_str().into(),
6766
super::DISABLE_WHILE_TYPING.as_str().into(),
6867
])
6968
.view::<Page>(|binder, _page, section| {
@@ -91,7 +90,7 @@ fn touchpad() -> Section<crate::pages::Message> {
9190
)
9291
.add(
9392
settings::item::builder(&*TOUCHPAD_ACCELERAION)
94-
.description(&*super::ACCELERAION_DESC)
93+
.description(&*super::ACCELERATION_DESC)
9594
.toggler(
9695
input
9796
.input_touchpad

0 commit comments

Comments
 (0)