|
@@ -1849,8 +1849,6 @@ function menu_wifi {
|
1849
|
1849
|
}
|
1850
|
1850
|
|
1851
|
1851
|
function app_settings {
|
1852
|
|
-
|
1853
|
|
-
|
1854
|
1852
|
detect_installable_apps
|
1855
|
1853
|
|
1856
|
1854
|
applist=""
|
|
@@ -1872,17 +1870,17 @@ function app_settings {
|
1872
|
1870
|
applist="$applist $n $backstr on"
|
1873
|
1871
|
appnames+=("Exit")
|
1874
|
1872
|
|
1875
|
|
- choices=$(dialog --stdout --backtitle $"Freedombone" \
|
|
1873
|
+ choice=$(dialog --stdout --backtitle $"Freedombone" \
|
1876
|
1874
|
--title $"Change Settings for an App" \
|
1877
|
1875
|
--radiolist $'Choose:' \
|
1878
|
1876
|
27 40 20 $applist)
|
1879
|
1877
|
|
1880
|
1878
|
if [ $? -eq 0 ]; then
|
1881
|
|
- for choice in $choices
|
1882
|
|
- do
|
1883
|
|
- app_index = $[choice-1]
|
1884
|
|
- configure_interactive_${appname[$app_index]}
|
1885
|
|
- done
|
|
1879
|
+ app_index = $[choice-1]
|
|
1880
|
+ chosen_app=${appnames[$app_index]}
|
|
1881
|
+ if [[ $chosen_app != "Exit" ]]; then
|
|
1882
|
+ configure_interactive_${chosen_app}
|
|
1883
|
+ fi
|
1886
|
1884
|
fi
|
1887
|
1885
|
}
|
1888
|
1886
|
|