From 3802ca1d92b98bbd9f411264f29811bce022108e Mon Sep 17 00:00:00 2001 From: duogenesis <136373989+duogenesis@users.noreply.github.com> Date: Tue, 10 Oct 2023 03:28:24 +1100 Subject: [PATCH] Make 'Please Update Your App' message clearer on web --- components/utility-screen.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/utility-screen.tsx b/components/utility-screen.tsx index 4e91356d..7b42258d 100644 --- a/components/utility-screen.tsx +++ b/components/utility-screen.tsx @@ -1,4 +1,5 @@ import { + Platform, Text, View, } from 'react-native'; @@ -45,7 +46,11 @@ const UtilityScreen = ({ return "Down For Maintenance"; } if (serverStatus === "please update") { - return "Please Update Your App 😇" + if (Platform.OS === 'web') { + return "Please Refresh This Page 😇" + } else { + return "Please Update Your App 😇" + } } // Just in case the type signature is a lie