chore(input): typo in static variable name

This commit is contained in:
Michael Aaron Murphy 2024-02-19 17:56:15 +01:00 committed by Michael Murphy
parent a940bef647
commit 1bf1b39bff
3 changed files with 5 additions and 6 deletions

View file

@ -1,4 +1,3 @@
use cosmic::iced::Length;
use cosmic::widget::{self, settings, text};
use cosmic::{Apply, Element};
use cosmic_comp_config::input::{AccelProfile, ScrollMethod};
@ -63,7 +62,7 @@ fn touchpad() -> Section<crate::pages::Message> {
super::PRIMARY_BUTTON.as_str().into(),
TOUCHPAD_SPEED.as_str().into(),
TOUCHPAD_ACCELERAION.as_str().into(),
super::ACCELERAION_DESC.as_str().into(),
super::ACCELERATION_DESC.as_str().into(),
super::DISABLE_WHILE_TYPING.as_str().into(),
])
.view::<Page>(|binder, _page, section| {
@ -91,7 +90,7 @@ fn touchpad() -> Section<crate::pages::Message> {
)
.add(
settings::item::builder(&*TOUCHPAD_ACCELERAION)
.description(&*super::ACCELERAION_DESC)
.description(&*super::ACCELERATION_DESC)
.toggler(
input
.input_touchpad