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