summaryrefslogtreecommitdiff
path: root/src/client/app/mobile/script.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/mobile/script.ts')
-rw-r--r--src/client/app/mobile/script.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/client/app/mobile/script.ts b/src/client/app/mobile/script.ts
index 5622e233df..116ffce1dc 100644
--- a/src/client/app/mobile/script.ts
+++ b/src/client/app/mobile/script.ts
@@ -35,7 +35,6 @@ import MkFollow from '../common/views/pages/follow.vue';
import PostForm from './views/components/post-form-dialog.vue';
import FileChooser from './views/components/drive-file-chooser.vue';
import FolderChooser from './views/components/drive-folder-chooser.vue';
-import Dialog from './views/components/dialog.vue';
/**
* init
@@ -99,21 +98,6 @@ init((launch) => {
});
},
- $dialog(opts) {
- return new Promise<string>((res, rej) => {
- const o = opts || {};
- const d = this.$root.new(Dialog, {
- title: o.title,
- text: o.text,
- modal: o.modal,
- buttons: o.actions
- });
- d.$once('clicked', id => {
- res(id);
- });
- });
- },
-
$notify(message) {
alert(message);
}