refac(win): rename unpause to start

This commit is contained in:
Dmitriy Pleshevskiy 2022-02-18 00:10:51 +03:00
parent d79135e26f
commit ef1e00dff8
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ fn build_timers(sender: Rc<sound::Sender>) -> impl Widget<state::App> {
fn build_pause_btn() -> impl Widget<state::App> {
Either::new(
|data: &state::App, _env| data.paused,
Button::new("Unpause").on_click(|ctx, data: &mut state::App, _env| {
Button::new("Start").on_click(|ctx, data: &mut state::App, _env| {
data.paused = false;
ctx.submit_command(cmd::UNPAUSE_ALL_TIMER_COMP.with(false))
}),