From 11afa8140c5706c8ad105e50cef63df83db66e7a Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 14 Nov 2018 16:30:58 +0900 Subject: [Client] Improve alert component --- src/client/app/mobile/script.ts | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/client/app/mobile/script.ts') 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((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); } -- cgit v1.2.3-freya