mirror of https://github.com/tooot-app/app
Fixed #74
This commit is contained in:
parent
ec0faf7e7f
commit
69999dadb6
|
@ -15,7 +15,7 @@ const composePost = async (
|
||||||
url: `statuses/${composeState.replyToStatus.id}`
|
url: `statuses/${composeState.replyToStatus.id}`
|
||||||
})
|
})
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (err.status == 404) {
|
if (err.status && err.status == 404) {
|
||||||
return Promise.reject({ removeReply: true })
|
return Promise.reject({ removeReply: true })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ const ScreenMeSettingsPush: React.FC = () => {
|
||||||
setPushEnabled(result.granted)
|
setPushEnabled(result.granted)
|
||||||
setPushCanAskAgain(result.canAskAgain)
|
setPushCanAskAgain(result.canAskAgain)
|
||||||
} else {
|
} else {
|
||||||
Linking.openURL('app-settings:')
|
Linking.openSettings()
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue