fix bug where oneoff templates are uploaded without a frame

pull/480/head
Mike Lang 5 days ago
parent 3d22afbf0d
commit 5b62e3a2ff

@ -1321,12 +1321,11 @@ async function sendVideoData(newState, overrideChanges) {
} }
} }
try { try {
if (thumbnailMode === "ONEOFF") {
thumbnailImage = await renderThumbnail();
thumbnailMode = "CUSTOM";
}
if (thumbnailMode === "CUSTOM") { if (thumbnailMode === "CUSTOM") {
thumbnailImage = await uploadedImageToBase64(); thumbnailImage = await uploadedImageToBase64();
} else if (thumbnailMode === "ONEOFF") {
thumbnailImage = await renderThumbnail();
thumbnailMode = "CUSTOM";
} }
} catch (e) { } catch (e) {
submissionError(`${e}`); submissionError(`${e}`);

Loading…
Cancel
Save