mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45:39 +00:00
Fix desktop mode warning dialog logging
This commit is contained in:
parent
4895be10db
commit
4a996e9c6b
|
@ -222,7 +222,6 @@ desktop_mode_warning() {
|
|||
--text="$message")
|
||||
rc=$? # Capture return code, as "Yes" button has no text value
|
||||
if [[ $rc == "1" ]]; then # If any button other than "Yes" was clicked
|
||||
log i "Selected: \"Yes\""
|
||||
if [[ $choice == "No" ]]; then
|
||||
log i "Selected: \"No\""
|
||||
exit 1
|
||||
|
@ -230,6 +229,8 @@ desktop_mode_warning() {
|
|||
log i "Selected: \"Never show this again\""
|
||||
set_setting_value $rd_conf "desktop_mode_warning" "false" retrodeck "options" # Store desktop mode warning variable for future checks
|
||||
fi
|
||||
else
|
||||
log i "Selected: \"Yes\""
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue