From ad6911ed66becec6b11e814e8e4441c474b2a22f Mon Sep 17 00:00:00 2001 From: Sarina Date: Sun, 21 Jul 2024 19:03:24 +0330 Subject: [PATCH] Refactor menu.sh --- menu.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/menu.sh b/menu.sh index 0b10bf0..6b1b9cb 100644 --- a/menu.sh +++ b/menu.sh @@ -53,7 +53,6 @@ main_menu() { clear local choice while true; do - define_colors get_system_info display_main_menu read -r choice @@ -96,7 +95,6 @@ hysteria2_menu() { clear local choice while true; do - define_colors get_system_info display_hysteria2_menu read -r choice @@ -120,7 +118,6 @@ advance_menu() { clear local choice while true; do - define_colors display_advance_menu read -r choice case $choice in @@ -162,5 +159,6 @@ main() { main_menu } +define_colors # Run the main function main