diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-14 16:30:58 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-14 16:30:58 +0900 |
| commit | 11afa8140c5706c8ad105e50cef63df83db66e7a (patch) | |
| tree | d7e322dab3dc20f9ba86681dd7b2354af922fdda /src/client/app/mobile/script.ts | |
| parent | [Client] Add missing icons (diff) | |
| download | misskey-11afa8140c5706c8ad105e50cef63df83db66e7a.tar.gz misskey-11afa8140c5706c8ad105e50cef63df83db66e7a.tar.bz2 misskey-11afa8140c5706c8ad105e50cef63df83db66e7a.zip | |
[Client] Improve alert component
Diffstat (limited to 'src/client/app/mobile/script.ts')
| -rw-r--r-- | src/client/app/mobile/script.ts | 16 |
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); } |