diff --git a/com.neosubhamoy.neodlp.metainfo.xml b/com.neosubhamoy.neodlp.metainfo.xml index bb389d3..f61078c 100644 --- a/com.neosubhamoy.neodlp.metainfo.xml +++ b/com.neosubhamoy.neodlp.metainfo.xml @@ -39,7 +39,7 @@ - + https://github.com/neosubhamoy/neodlp/releases/tag/v0.4.3 diff --git a/src/components/pages/settings/applicationSettings.tsx b/src/components/pages/settings/applicationSettings.tsx index a8df9e6..403b262 100644 --- a/src/components/pages/settings/applicationSettings.tsx +++ b/src/components/pages/settings/applicationSettings.tsx @@ -1254,6 +1254,8 @@ function AppDelaySettings() { } function AppPoTokenSettings() { + const isFlatpak = useEnvironmentStore(state => state.isFlatpak); + const formResetTrigger = useSettingsPageStatesStore(state => state.formResetTrigger); const acknowledgeFormReset = useSettingsPageStatesStore(state => state.acknowledgeFormReset); @@ -1325,7 +1327,7 @@ function AppPoTokenSettings() { await stopPotServer(); } }} - disabled={useCustomCommands || isStartingPotServer || isChangingPotServerPort} + disabled={useCustomCommands || isStartingPotServer || isChangingPotServerPort || isFlatpak} /> @@ -1351,7 +1353,7 @@ function AppPoTokenSettings() { id="disable-innertube" checked={disableInnertube} onCheckedChange={(checked) => saveSettingsKey('disable_innertube', checked)} - disabled={useCustomCommands || !usePotoken} + disabled={useCustomCommands || !usePotoken || isFlatpak} /> @@ -1364,7 +1366,7 @@ function AppPoTokenSettings() { ( @@ -1383,7 +1385,7 @@ function AppPoTokenSettings() { />