The swiss army knife of lossless video/audio editing
simplify
Mikael Finstad25110672b89b
diff --git a/src/renderer/src/BottomBar.tsx b/src/renderer/src/BottomBar.tsxindex d6205e6e..3670cd92 100644--- a/src/renderer/src/BottomBar.tsx+++ b/src/renderer/src/BottomBar.tsx@@ -42,8 +42,11 @@ const InvertCutModeButton = memo(({ invertCutSegments, setInvertCutSegments }: {const onYinYangClick = useCallback(() => {setInvertCutSegments((v) => {const newVal = !v;- if (newVal) getSwal().toast.fire({ title: t('When you export, selected segments on the timeline will be REMOVED - the surrounding areas will be KEPT') });- else getSwal().toast.fire({ title: t('When you export, selected segments on the timeline will be KEPT - the surrounding areas will be REMOVED.') });+ getSwal().toast.fire({+ title: newVal+ ? t('When you export, selected segments on the timeline will be REMOVED - the surrounding areas will be KEPT')+ : t('When you export, selected segments on the timeline will be KEPT - the surrounding areas will be REMOVED.'),+ });return newVal;});}, [setInvertCutSegments, t]);