Single choice
This commit is contained in:
parent
23e8e6f8f4
commit
212b63e04c
|
@ -1849,8 +1849,6 @@ function menu_wifi {
|
|||
}
|
||||
|
||||
function app_settings {
|
||||
|
||||
|
||||
detect_installable_apps
|
||||
|
||||
applist=""
|
||||
|
@ -1872,17 +1870,17 @@ function app_settings {
|
|||
applist="$applist $n $backstr on"
|
||||
appnames+=("Exit")
|
||||
|
||||
choices=$(dialog --stdout --backtitle $"Freedombone" \
|
||||
choice=$(dialog --stdout --backtitle $"Freedombone" \
|
||||
--title $"Change Settings for an App" \
|
||||
--radiolist $'Choose:' \
|
||||
27 40 20 $applist)
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
for choice in $choices
|
||||
do
|
||||
app_index = $[choice-1]
|
||||
configure_interactive_${appname[$app_index]}
|
||||
done
|
||||
app_index = $[choice-1]
|
||||
chosen_app=${appnames[$app_index]}
|
||||
if [[ $chosen_app != "Exit" ]]; then
|
||||
configure_interactive_${chosen_app}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue