@@ -144,21 +144,18 @@ function passwords_select_user {
function passwords_show_apps {
SELECTED_APP=
select_all_apps=$1
applist=""
n=1
app_index=0
i=0
W=()
for a in"${APPS_AVAILABLE[@]}"
do
applist="$applist$n$a off"
n=$[n+1]
app_index=$[app_index+1]
i=$((i+1))
W+=($i"$a")
done
selected_app_index=$(dialog --backtitle$"Freedombone Control Panel"--title$"Select App"--menu$"Select one of the following:" 24 40 17 "${W[@]}" 3>&2 2>&1 1>&3)