diff --git a/src/AppMobile.svelte b/src/AppMobile.svelte
index 9bf41d5..e08e4e3 100644
--- a/src/AppMobile.svelte
+++ b/src/AppMobile.svelte
@@ -20,6 +20,8 @@
import "framework7/css/bundle"
import "./scss/global.scss";
+ import GenToolbar from './mobile/GenToolbar.svelte'
+
import HomePage from './mobile/routes/home.svelte';
import AboutPage from './mobile/routes/about.svelte';
import LoginPage from './mobile/routes/login.svelte';
@@ -99,6 +101,8 @@
masterDetailBreakpoint={768},
browserHistory=true,
browserHistoryRoot="/mobile/"
- />
+ >
+
+
{/if}
diff --git a/src/mobile/GenToolbar.svelte b/src/mobile/GenToolbar.svelte
new file mode 100644
index 0000000..b332d99
--- /dev/null
+++ b/src/mobile/GenToolbar.svelte
@@ -0,0 +1,51 @@
+
+
+
+ Queue Prompt
+
diff --git a/src/mobile/routes/subworkflow.svelte b/src/mobile/routes/subworkflow.svelte
index d87b345..0e1b905 100644
--- a/src/mobile/routes/subworkflow.svelte
+++ b/src/mobile/routes/subworkflow.svelte
@@ -24,33 +24,10 @@
$: if (!app)
app = $uiState.app
- function queuePrompt() {
- app.queuePrompt(0, 1);
- showNotification();
- }
-
- let notification;
- const showNotification = () => {
- if (!notification) {
- notification = f7.notification.create({
- title: 'Queued',
- titleRightText: 'now',
- // subtitle: 'Notification with close on click',
- text: 'Prompt was queued',
- closeOnClick: true,
- closeTimeout: 3000,
- });
- }
- // Open it
- notification.open();
- }
-
- Queue Prompt
-
{#each Object.entries($widgetState) as [id, ws]}
{@const node = app.lGraph.getNodeById(id)}