diff options
| author | Xeltica <7106976+Xeltica@users.noreply.github.com> | 2019-07-28 05:33:12 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-07-28 05:33:12 +0900 |
| commit | 831ca53b639062efd5a6e3e7c1b0b20f46ce6fc1 (patch) | |
| tree | a38174385bdbec40915363a40de6c71d76bce1c6 /src/client/app/mobile | |
| parent | AP Emojiのupdatedは採用しないように (#5220) (diff) | |
| download | misskey-831ca53b639062efd5a6e3e7c1b0b20f46ce6fc1.tar.gz misskey-831ca53b639062efd5a6e3e7c1b0b20f46ce6fc1.tar.bz2 misskey-831ca53b639062efd5a6e3e7c1b0b20f46ce6fc1.zip | |
「削除して編集」機能を追加 (#5182)
* 「削除して編集」機能を追加
* UXの調整
* 殆どの情報を保持したまま編集できるように
* update lang
Diffstat (limited to 'src/client/app/mobile')
| -rw-r--r-- | src/client/app/mobile/script.ts | 5 | ||||
| -rw-r--r-- | src/client/app/mobile/views/components/post-form-dialog.vue | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/client/app/mobile/script.ts b/src/client/app/mobile/script.ts index 082b3e895f..1e0441987f 100644 --- a/src/client/app/mobile/script.ts +++ b/src/client/app/mobile/script.ts @@ -55,7 +55,10 @@ init((launch, os) => { const vm = this.$root.new(PostFormDialog, { reply: o.reply, mention: o.mention, - renote: o.renote + renote: o.renote, + initialText: o.initialText, + instant: o.instant, + initialNote: o.initialNote, }); vm.$once('cancel', recover); vm.$once('posted', recover); diff --git a/src/client/app/mobile/views/components/post-form-dialog.vue b/src/client/app/mobile/views/components/post-form-dialog.vue index a6801be0ef..716ad8fd07 100644 --- a/src/client/app/mobile/views/components/post-form-dialog.vue +++ b/src/client/app/mobile/views/components/post-form-dialog.vue @@ -7,6 +7,7 @@ :renote="renote" :mention="mention" :initial-text="initialText" + :initial-note="initialNote" :instant="instant" @posted="onPosted" @cancel="onCanceled"/> @@ -41,6 +42,10 @@ export default Vue.extend({ type: String, required: false }, + initialNote: { + type: Object, + required: false + }, instant: { type: Boolean, required: false, |