diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-01 08:59:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 08:59:40 +0100 |
commit | 81ae7e425dc52846c5d4c282a0422a3875d84e2f (patch) | |
tree | fd268c721913a2d6548b299f4e3193bdb5cd5883 /src/view/shell/Drawer.tsx | |
parent | 181e61bedb21003921fa21f6e8b86baf918d62bf (diff) | |
download | voidsky-81ae7e425dc52846c5d4c282a0422a3875d84e2f.tar.zst |
Add kawaii mode (#3773)
Diffstat (limited to 'src/view/shell/Drawer.tsx')
-rw-r--r-- | src/view/shell/Drawer.tsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx index 8145fa408..d8e604ec3 100644 --- a/src/view/shell/Drawer.tsx +++ b/src/view/shell/Drawer.tsx @@ -18,6 +18,7 @@ import {useLingui} from '@lingui/react' import {StackActions, useNavigation} from '@react-navigation/native' import {emitSoftReset} from '#/state/events' +import {useKawaiiMode} from '#/state/preferences/kawaii' import {useUnreadNotifications} from '#/state/queries/notifications/unread' import {useProfileQuery} from '#/state/queries/profile' import {SessionAccount, useSession} from '#/state/session' @@ -117,6 +118,7 @@ let DrawerContent = ({}: {}): React.ReactNode => { const {isAtHome, isAtSearch, isAtFeeds, isAtNotifications, isAtMyProfile} = useNavigationTabState() const {hasSession, currentAccount} = useSession() + const kawaii = useKawaiiMode() // events // = @@ -262,6 +264,17 @@ let DrawerContent = ({}: {}): React.ReactNode => { href="https://bsky.social/about/support/privacy-policy" text={_(msg`Privacy Policy`)} /> + {kawaii && ( + <Text type="md" style={pal.textLight}> + Logo by{' '} + <TextLink + type="md" + href="/profile/sawaratsuki.bsky.social" + text="@sawaratsuki.bsky.social" + style={pal.link} + /> + </Text> + )} </View> <View style={styles.smallSpacer} /> |