fix: 🚸 cw re below keep cw button
This commit is contained in:
parent
8a49f8a06c
commit
f3ca0a6683
@ -71,12 +71,6 @@
|
|||||||
{{ i18n.ts.reflectMayTakeTime }}</template
|
{{ i18n.ts.reflectMayTakeTime }}</template
|
||||||
></FormSwitch
|
></FormSwitch
|
||||||
>
|
>
|
||||||
<FormSwitch v-model="addRe" class="_formBlock"
|
|
||||||
>{{ i18n.ts.addRe
|
|
||||||
}}<span class="_beta">{{
|
|
||||||
i18n.ts.originalFeature
|
|
||||||
}}</span></FormSwitch
|
|
||||||
>
|
|
||||||
|
|
||||||
<FormSelect v-model="serverDisconnectedBehavior" class="_formBlock">
|
<FormSelect v-model="serverDisconnectedBehavior" class="_formBlock">
|
||||||
<template #label>{{ i18n.ts.whenServerDisconnected }}</template>
|
<template #label>{{ i18n.ts.whenServerDisconnected }}</template>
|
||||||
@ -363,7 +357,6 @@ const showAdminUpdates = computed(
|
|||||||
const showTimelineReplies = computed(
|
const showTimelineReplies = computed(
|
||||||
defaultStore.makeGetterSetter("showTimelineReplies"),
|
defaultStore.makeGetterSetter("showTimelineReplies"),
|
||||||
);
|
);
|
||||||
const addRe = computed(defaultStore.makeGetterSetter("addRe"));
|
|
||||||
|
|
||||||
watch(swipeOnDesktop, () => {
|
watch(swipeOnDesktop, () => {
|
||||||
defaultStore.set("swipeOnMobile", true);
|
defaultStore.set("swipeOnMobile", true);
|
||||||
|
@ -130,6 +130,12 @@
|
|||||||
@update:modelValue="save()"
|
@update:modelValue="save()"
|
||||||
>{{ i18n.ts.keepCw }}</FormSwitch
|
>{{ i18n.ts.keepCw }}</FormSwitch
|
||||||
>
|
>
|
||||||
|
<FormSwitch
|
||||||
|
v-model="addRe"
|
||||||
|
class="_formBlock"
|
||||||
|
@update:modelValue="save()"
|
||||||
|
>{{ i18n.ts.addRe }}
|
||||||
|
</FormSwitch>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -164,6 +170,7 @@ let rememberNoteVisibility = $computed(
|
|||||||
defaultStore.makeGetterSetter("rememberNoteVisibility"),
|
defaultStore.makeGetterSetter("rememberNoteVisibility"),
|
||||||
);
|
);
|
||||||
let keepCw = $computed(defaultStore.makeGetterSetter("keepCw"));
|
let keepCw = $computed(defaultStore.makeGetterSetter("keepCw"));
|
||||||
|
let addRe = $computed(defaultStore.makeGetterSetter("addRe"));
|
||||||
|
|
||||||
function save() {
|
function save() {
|
||||||
os.api("i/update", {
|
os.api("i/update", {
|
||||||
|
Loading…
Reference in New Issue
Block a user