fix: correctly split shell

This commit is contained in:
Henrique Dias 2025-06-26 21:07:45 +02:00
parent a430eb2e60
commit f84a6db680
No known key found for this signature in database

View File

@ -321,7 +321,10 @@ const save = async () => {
.filter((cmd: string) => cmd !== "");
}
}
newSettings.shell = shellValue.value.split("\n");
newSettings.shell = shellValue.value
.trim()
.split(" ")
.filter((s) => s !== "");
if (newSettings.branding.theme !== getTheme()) {
setTheme(newSettings.branding.theme);