diff options
-rw-r--r-- | app.config.js | 2 | ||||
-rw-r--r-- | src/view/screens/Notifications.tsx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app.config.js b/app.config.js index e5ec435ab..096756b08 100644 --- a/app.config.js +++ b/app.config.js @@ -9,7 +9,7 @@ module.exports = function () { /** * iOS build number. Must be incremented for each TestFlight version. */ - const IOS_BUILD_NUMBER = '1' + const IOS_BUILD_NUMBER = '2' /** * Android build number. Must be incremented for each release. diff --git a/src/view/screens/Notifications.tsx b/src/view/screens/Notifications.tsx index 7ebacc9db..fceaa60c2 100644 --- a/src/view/screens/Notifications.tsx +++ b/src/view/screens/Notifications.tsx @@ -67,8 +67,8 @@ export function NotificationsScreen({}: Props) { const onFocusCheckLatest = React.useCallback(() => { // on focus, check for latest, but only invalidate if the user // isnt scrolled down to avoid moving content underneath them - unreadApi.checkUnread({invalidate: !isScrolledDown && isDesktop}) - }, [unreadApi, isScrolledDown, isDesktop]) + unreadApi.checkUnread({invalidate: !isScrolledDown}) + }, [unreadApi, isScrolledDown]) checkLatestRef.current = onFocusCheckLatest // on-visible setup |