|
|
|
@ -1,6 +1,5 @@
|
|
|
|
import { memo } from 'react';
|
|
|
|
import { memo } from 'react';
|
|
|
|
|
|
|
|
|
|
|
|
import { withBlur } from '../util';
|
|
|
|
|
|
|
|
import useUserSettings from '../hooks/useUserSettings';
|
|
|
|
import useUserSettings from '../hooks/useUserSettings';
|
|
|
|
import Switch from './Switch';
|
|
|
|
import Switch from './Switch';
|
|
|
|
|
|
|
|
|
|
|
|
@ -9,7 +8,7 @@ function PreserveMovDataButton() {
|
|
|
|
const { preserveMovData, togglePreserveMovData } = useUserSettings();
|
|
|
|
const { preserveMovData, togglePreserveMovData } = useUserSettings();
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<Switch checked={preserveMovData} onCheckedChange={withBlur(togglePreserveMovData)} />
|
|
|
|
<Switch checked={preserveMovData} onCheckedChange={togglePreserveMovData} />
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|