feat: allow hide private subscription in view timeline (#3773)
This commit is contained in:
@@ -111,6 +111,9 @@ export const GeneralScreen: NavigationControllerView = () => {
|
||||
const summary = useGeneralSettingKey("summary")
|
||||
const autoGroup = useGeneralSettingKey("autoGroup")
|
||||
const hideAllReadSubscriptions = useGeneralSettingKey("hideAllReadSubscriptions")
|
||||
const hidePrivateSubscriptionsInTimeline = useGeneralSettingKey(
|
||||
"hidePrivateSubscriptionsInTimeline",
|
||||
)
|
||||
const showUnreadOnLaunch = useGeneralSettingKey("unreadOnly")
|
||||
// const groupByDate = useGeneralSettingKey("groupByDate")
|
||||
const expandLongSocialMedia = useGeneralSettingKey("autoExpandLongSocialMedia")
|
||||
@@ -184,6 +187,19 @@ export const GeneralScreen: NavigationControllerView = () => {
|
||||
}}
|
||||
/>
|
||||
</GroupedInsetListCell>
|
||||
|
||||
<GroupedInsetListCell
|
||||
label={t("general.hide_private_subscriptions_in_timeline.label")}
|
||||
description={t("general.hide_private_subscriptions_in_timeline.description")}
|
||||
>
|
||||
<Switch
|
||||
size="sm"
|
||||
value={hidePrivateSubscriptionsInTimeline}
|
||||
onValueChange={(value) => {
|
||||
setGeneralSetting("hidePrivateSubscriptionsInTimeline", value)
|
||||
}}
|
||||
/>
|
||||
</GroupedInsetListCell>
|
||||
</GroupedInsetListCard>
|
||||
|
||||
{/* Timeline */}
|
||||
|
||||
Reference in New Issue
Block a user