fixed disabling display of time spent in the game

This commit is contained in:
Mikhail Tergoev
2025-12-05 14:48:41 +03:00
parent d77a584119
commit f158b01bd3

View File

@@ -6778,9 +6778,12 @@ gui_userconf () {
*"${translations[dark]}") GTK_THEME=${GTK_THEME//${translations[dark]}/dark} ;; *"${translations[dark]}") GTK_THEME=${GTK_THEME//${translations[dark]}/dark} ;;
esac esac
if [[ $DESKTOP_WITH_TIME == "${translations[Show in hours and minutes]}" ]] if [[ $DESKTOP_WITH_TIME == "${translations[Show in hours and minutes]}" ]] ; then
then DESKTOP_WITH_TIME="posnumber1" DESKTOP_WITH_TIME="posnumber1"
else DESKTOP_WITH_TIME="posnumber2" elif [[ $DESKTOP_WITH_TIME == "${translations[Show in days, hours, minutes]}" ]] ; then
DESKTOP_WITH_TIME="posnumber2"
else
DESKTOP_WITH_TIME="disabled"
fi fi
if [[ $SORT_WITH_TIME == "${translations[According to last launch]}" ]] if [[ $SORT_WITH_TIME == "${translations[According to last launch]}" ]]