mirror of https://github.com/tooot-app/app
Fix #716
This commit is contained in:
parent
173d4248d8
commit
1df73b070a
|
@ -60,8 +60,8 @@ const TabMeFollowedTags: React.FC<TabMeStackScreenProps<'Tab-Me-FollowedTags'>>
|
|||
<Button
|
||||
type='text'
|
||||
content={t('componentContextMenu:hashtag.follow.action', {
|
||||
defaultValue: 'fase',
|
||||
context: 'false'
|
||||
defaultValue: 'true',
|
||||
context: 'true'
|
||||
})}
|
||||
onPress={() => mutation.mutate({ tag_name: item.name, to: !item.following })}
|
||||
/>
|
||||
|
|
|
@ -7,7 +7,9 @@ import { useEffect } from 'react'
|
|||
// /compose OR /compose/@username@example.com
|
||||
|
||||
export const useLinking = () => {
|
||||
const parseLink = async (link: string) => {
|
||||
const parseLink = async (link: string | null) => {
|
||||
if (!link) return
|
||||
|
||||
const parsed = Linking.parse(link)
|
||||
|
||||
switch (parsed.scheme) {
|
||||
|
|
Loading…
Reference in New Issue