summaryrefslogtreecommitdiff
path: root/src/client/app/mobile
diff options
context:
space:
mode:
authorXeltica <7106976+Xeltica@users.noreply.github.com>2019-07-28 05:33:12 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-07-28 05:33:12 +0900
commit831ca53b639062efd5a6e3e7c1b0b20f46ce6fc1 (patch)
treea38174385bdbec40915363a40de6c71d76bce1c6 /src/client/app/mobile
parentAP Emojiのupdatedは採用しないように (#5220) (diff)
downloadmisskey-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.ts5
-rw-r--r--src/client/app/mobile/views/components/post-form-dialog.vue5
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,