1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-12 15:24:14 +03:00

lvgui: Fix add_switch description-default-value

This commit is contained in:
betaboon 2022-07-31 19:49:42 +02:00
parent de9a88a70f
commit c1092ded48

View File

@ -38,7 +38,7 @@ module LVGUI
end
end
def add_switch(label, description: nil, initial: false)
def add_switch(label, description: "", initial: false)
LVGUI::SwitchLine.new(@container).tap do |switch|
add_to_focus_group(switch.switch_control)
if initial