mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 18:44:29 +05:00
fix: menu action for removing mainsail theme was missing
This commit is contained in:
@@ -47,6 +47,9 @@ ms_theme_menu(){
|
|||||||
read -p "${cyan}Install theme:${default} " a; echo
|
read -p "${cyan}Install theme:${default} " a; echo
|
||||||
if [ $a = "q" ] || [ $a = "Q" ]; then
|
if [ $a = "q" ] || [ $a = "Q" ]; then
|
||||||
clear && advanced_menu && break
|
clear && advanced_menu && break
|
||||||
|
elif [ $a = "r" ] || [ $a = "R" ]; then
|
||||||
|
ms_theme_delete
|
||||||
|
ms_theme_menu
|
||||||
elif [ $a -le ${#t_url[@]} ]; then
|
elif [ $a -le ${#t_url[@]} ]; then
|
||||||
ms_theme_install "${t_auth[$a]}" "${t_url[$a]}" "${t_name[$a]}" "${t_note[$a]}"
|
ms_theme_install "${t_auth[$a]}" "${t_url[$a]}" "${t_name[$a]}" "${t_note[$a]}"
|
||||||
ms_theme_menu
|
ms_theme_menu
|
||||||
@@ -114,4 +117,4 @@ ms_theme_delete(){
|
|||||||
else
|
else
|
||||||
status_msg "No Theme installed!\n"
|
status_msg "No Theme installed!\n"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user