1
0
Эх сурвалжийг харах

fix: changelog issues smh

Sven 11 сар өмнө
parent
commit
5881427765

+ 3 - 0
changelog.md

@@ -1,3 +1,6 @@
+<!-- I messed up with the changelog parsing so this is just how it will have to be -->
+<div class="split"></div>
+
 ## 2.0.0
 - **Added features:**
 	- Keep the volume synced between tabs

+ 1 - 0
src/dialogs/versionNotif.ts

@@ -17,6 +17,7 @@ export async function getVersionNotifDialog({
 }: VersionNotifDialogRenderProps) {
   if(!verNotifDialog) {
     const changelogMdFull = await getChangelogMd();
+    // I messed up because this should be 0 so the changelog will always need to have an extra div at the top for backwards compatibility
     const changelogMd = changelogMdFull.split("<div class=\"split\">")[1];
     const changelogHtml = await parseMarkdown(changelogMd);