* Revert "Revert "Resolve #3813 (#3814)""
This reverts commit f433182c4c
.
* Keep CW is back
* New Wave
https://github.com/syuilo/misskey/pull/3949#pullrequestreview-194787210
This commit is contained in:

committed by
GitHub

parent
44a3df0acf
commit
4632eecb76
@@ -210,6 +210,12 @@ export default Vue.extend({
|
||||
});
|
||||
}
|
||||
|
||||
// keep cw when reply
|
||||
if (this.$store.state.settings.keepCw && this.reply && this.reply.cw) {
|
||||
this.useCw = true;
|
||||
this.cw = this.reply.cw;
|
||||
}
|
||||
|
||||
this.focus();
|
||||
|
||||
this.$nextTick(() => {
|
||||
|
@@ -66,6 +66,7 @@
|
||||
|
||||
<section>
|
||||
<ui-switch v-model="fetchOnScroll">{{ $t('fetch-on-scroll') }}</ui-switch>
|
||||
<ui-switch v-model="keepCw">{{ $t('keep-cw') }}</ui-switch>
|
||||
<ui-switch v-model="disableViaMobile">{{ $t('disable-via-mobile') }}</ui-switch>
|
||||
<ui-switch v-model="loadRawImages">{{ $t('load-raw-images') }}</ui-switch>
|
||||
<ui-switch v-model="loadRemoteMedia">{{ $t('load-remote-media') }}</ui-switch>
|
||||
@@ -247,6 +248,11 @@ export default Vue.extend({
|
||||
set(value) { this.$store.dispatch('settings/set', { key: 'fetchOnScroll', value }); }
|
||||
},
|
||||
|
||||
keepCw: {
|
||||
get() { return this.$store.state.settings.keepCw; },
|
||||
set(value) { this.$store.dispatch('settings/set', { key: 'keepCw', value }); }
|
||||
},
|
||||
|
||||
rememberNoteVisibility: {
|
||||
get() { return this.$store.state.settings.rememberNoteVisibility; },
|
||||
set(value) { this.$store.dispatch('settings/set', { key: 'rememberNoteVisibility', value }); }
|
||||
|
Reference in New Issue
Block a user