-
- {#if fullscreen}
-
- {/if}
- {#if $$slots.icon}
-
- {/if}
- {#if $$slots.title}
-
-
-
- {/if}
-
-
- {#if $$slots.description}
-
-
-
+
+ {#if fullscreen}
+
{/if}
-
-
-
- {#if $$slots.buttons}
-
-
-
+ {#if $$slots.icon}
+
+ {/if}
+ {#if $$slots.title}
+
+
+
{/if}
+
+ {#if $$slots.description}
+
+
+
+ {/if}
+
+
+
+ {#if $$slots.buttons}
+
+
+
+ {/if}
{/if}
-
diff --git a/src/layout/Dialogs/DownloadCompatibilityWarningDialog.svelte b/src/layout/Dialogs/DownloadCompatibilityWarningDialog.svelte
new file mode 100644
index 0000000..658221d
--- /dev/null
+++ b/src/layout/Dialogs/DownloadCompatibilityWarningDialog.svelte
@@ -0,0 +1,25 @@
+
+
+
diff --git a/src/lib/components/ImageModal.svelte b/src/layout/Dialogs/ImageDialog.svelte
similarity index 77%
rename from src/lib/components/ImageModal.svelte
rename to src/layout/Dialogs/ImageDialog.svelte
index 987a973..3d7806d 100644
--- a/src/lib/components/ImageModal.svelte
+++ b/src/layout/Dialogs/ImageDialog.svelte
@@ -7,12 +7,12 @@
const dispatch = createEventDispatcher();
- function closeModal() {
+ function closeDialog() {
dispatch('close');
}
function handleKeydown(event: KeyboardEvent) {
- if (event.key === 'Escape') closeModal();
+ if (event.key === 'Escape') closeDialog();
}
@@ -20,16 +20,16 @@
-
+
-
-
+
+
diff --git a/src/layout/Dialogs/MobilePatchesPackagesDialog.svelte b/src/layout/Dialogs/MobilePatchesPackagesDialog.svelte
new file mode 100644
index 0000000..7b77e45
--- /dev/null
+++ b/src/layout/Dialogs/MobilePatchesPackagesDialog.svelte
@@ -0,0 +1,40 @@
+
+
+
+
+
diff --git a/src/layout/Navbar/Modals/SessionExpiredModal.svelte b/src/layout/Dialogs/SessionExpiredDialog.svelte
similarity index 84%
rename from src/layout/Navbar/Modals/SessionExpiredModal.svelte
rename to src/layout/Dialogs/SessionExpiredDialog.svelte
index d553d01..3ee02bf 100644
--- a/src/layout/Navbar/Modals/SessionExpiredModal.svelte
+++ b/src/layout/Dialogs/SessionExpiredDialog.svelte
@@ -1,9 +1,9 @@
-
+
-
+
diff --git a/src/routes/download/+page.svelte b/src/routes/download/+page.svelte
index b57668b..536bcf0 100644
--- a/src/routes/download/+page.svelte
+++ b/src/routes/download/+page.svelte
@@ -13,7 +13,7 @@
import Query from '$lib/components/Query.svelte';
import Button from '$lib/components/Button.svelte';
import Picture from '$lib/components/Picture.svelte';
- import Dialogue from '$lib/components/Dialogue.svelte';
+ import DownloadCompatibilityWarningDialog from '$layout/Dialogs/DownloadCompatibilityWarningDialog.svelte';
import { onMount } from 'svelte';
const query = createQuery(queries.manager());
@@ -69,21 +69,6 @@
]}
/>
-
- Warning
- {warning} Do you still want to download?
-
-
-
-
-
-
-
-
ReVanced Manager
Patch your favourite apps, right on your device.
@@ -113,6 +98,8 @@
+
+