feat(state): remove state controller function

This commit is contained in:
doryan 2024-08-09 15:07:58 +04:00
parent 56357c4697
commit be14fae2e4

View File

@ -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("Режим: кодирование");
}
}