make it more clear when export confirm is disabled

many users get confused
pull/1286/merge
Mikael Finstad 3 years ago
parent 43180cee65
commit cefc6e6ccc
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -69,7 +69,7 @@ The main feature is lossless trimming and cutting of video and audio files, whic
- Quickly cut a file by its MP4/MKV chapters
- Quickly cut a [YouTube video](https://youtube-dl.org/) by its chapters (or music times from a comment)
- Change the language of a file's audio/subtitle tracks
- Attach cover art to videos
- Attach cover art / thumbnail to videos / audio from an external JPEG file or from a frame on the timeline
- Change author, title, GPS position, recording time of a video
- Fix rotation of a video that has the wrong orientation flag set
- Great for rotating phone videos that come out the wrong way without actually re-encoding the video.

@ -40,7 +40,7 @@ const BottomBar = memo(({
}) => {
const { t } = useTranslation();
const { invertCutSegments, setInvertCutSegments, simpleMode, toggleSimpleMode } = useUserSettings();
const { invertCutSegments, setInvertCutSegments, simpleMode, toggleSimpleMode, exportConfirmEnabled } = useUserSettings();
const onYinYangClick = useCallback(() => {
setInvertCutSegments(v => {
@ -358,7 +358,7 @@ const BottomBar = memo(({
</>
)}
{!simpleMode && <ToggleExportConfirm style={{ marginRight: 5 }} />}
{(!simpleMode || !exportConfirmEnabled) && <ToggleExportConfirm style={{ marginRight: 5 }} />}
<ExportButton size={1.3} segmentsToExport={segmentsToExport} areWeCutting={areWeCutting} onClick={onExportPress} />
</div>

@ -12,7 +12,7 @@ const ToggleExportConfirm = memo(({ size = 23, style }) => {
const { exportConfirmEnabled, toggleExportConfirmEnabled } = useUserSettings();
return (
<MdEventNote style={{ color: exportConfirmEnabled ? primaryTextColor : 'rgba(255,255,255,0.3)', ...style }} size={size} title={t('Show export options screen before exporting?')} role="button" onClick={toggleExportConfirmEnabled} />
<MdEventNote style={{ color: exportConfirmEnabled ? primaryTextColor : 'rgba(255,255,255,0.7)', ...style }} size={size} title={t('Show export options screen before exporting?')} role="button" onClick={toggleExportConfirmEnabled} />
);
});

Loading…
Cancel
Save