fix: performance improvement for loading the advanced menu ui

This commit is contained in:
th33xitus committed 2021-06-15 15:56:13 +02:00
1 parent 54089582e4
commit 72312422e3
2 files changed
+8 -3

No files matched your search

+5 -3
View File
@@ -2,9 +2,11 @@ advanced_ui(){
top_border
echo -e "| ${yellow}~~~~~~~~~~~~~ [ Advanced Menu ] ~~~~~~~~~~~~~${default} | "
hr
echo -e "| 0) $OPRINT_SERVICE_STATUS| "
hr
echo -e "| | | "
if [ ! "$OPRINT_SERVICE_STATUS" == "" ]; then
echo -e "| 0) $OPRINT_SERVICE_STATUS| "
hr
echo -e "| | | "
fi
echo -e "| Klipper: | Mainsail: | "
echo -e "| 1) [Switch Branch] | 7) [Theme installer] | "
echo -e "| 2) [Rollback] | | "