From 4ed2852c414e97de9c5b7508cebb5ba0740a27ec Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 31 Jan 2023 11:24:46 +0800 Subject: [PATCH] Don't show updates button when loading --- src/pages/home.jsx | 1 + src/pages/notifications.jsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/home.jsx b/src/pages/home.jsx index 4c012dc3..2f0cb5a8 100644 --- a/src/pages/home.jsx +++ b/src/pages/home.jsx @@ -357,6 +357,7 @@ function Home({ hidden }) { {snapStates.homeNew.length > 0 && + uiState !== 'loading' && ((scrollDirection === 'start' && !nearReachStart && !nearReachEnd) || diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx index 800efeb6..4d6a4bf3 100644 --- a/src/pages/notifications.jsx +++ b/src/pages/notifications.jsx @@ -151,7 +151,7 @@ function Notifications() {