fix: 🚸 cw re below keep cw button

This commit is contained in:
ThatOneCalculator 2023-07-31 20:32:38 -07:00
parent 8a49f8a06c
commit f3ca0a6683
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
2 changed files with 7 additions and 7 deletions

View File

@ -71,12 +71,6 @@
{{ i18n.ts.reflectMayTakeTime }}</template
></FormSwitch
>
<FormSwitch v-model="addRe" class="_formBlock"
>{{ i18n.ts.addRe
}}<span class="_beta">{{
i18n.ts.originalFeature
}}</span></FormSwitch
>
<FormSelect v-model="serverDisconnectedBehavior" class="_formBlock">
<template #label>{{ i18n.ts.whenServerDisconnected }}</template>
@ -363,7 +357,6 @@ const showAdminUpdates = computed(
const showTimelineReplies = computed(
defaultStore.makeGetterSetter("showTimelineReplies"),
);
const addRe = computed(defaultStore.makeGetterSetter("addRe"));
watch(swipeOnDesktop, () => {
defaultStore.set("swipeOnMobile", true);

View File

@ -130,6 +130,12 @@
@update:modelValue="save()"
>{{ i18n.ts.keepCw }}</FormSwitch
>
<FormSwitch
v-model="addRe"
class="_formBlock"
@update:modelValue="save()"
>{{ i18n.ts.addRe }}
</FormSwitch>
</div>
</template>
@ -164,6 +170,7 @@ let rememberNoteVisibility = $computed(
defaultStore.makeGetterSetter("rememberNoteVisibility"),
);
let keepCw = $computed(defaultStore.makeGetterSetter("keepCw"));
let addRe = $computed(defaultStore.makeGetterSetter("addRe"));
function save() {
os.api("i/update", {