Skip to content

Commit

Permalink
fake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok committed Mar 14, 2024
1 parent 14b56b4 commit 4b40896
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/view/screens/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,10 @@ function HomeScreenReady({
}, [pinnedFeedInfos])

React.useEffect(() => {
Alert.alert('If you see this, the update worked.')
;(async () => {
try {
Alert.alert(Updates.channel?.toString() ?? 'no channel')
Alert.alert(Updates.updateId ?? 'none')
const update = await Updates.checkForUpdateAsync()

Alert.alert('Update!', JSON.stringify(update))
Alert.alert('MAnifest:', JSON.stringify(update.manifest))

if (update.isAvailable) {
Alert.alert(
'Update is available!',
Expand Down

0 comments on commit 4b40896

Please sign in to comment.