feat(state): remove state controller function
This commit is contained in:
parent
56357c4697
commit
be14fae2e4
|
@ -1,10 +0,0 @@
|
|||
use gtk::*;
|
||||
use gtk4 as gtk;
|
||||
|
||||
pub fn state_controller(switch: &Switch, label: &Label) {
|
||||
if switch.state() {
|
||||
label.set_label("Режим: проверка");
|
||||
} else {
|
||||
label.set_label("Режим: кодирование");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue