Skip to content

Commit

Permalink
Make 'Please Update Your App' message clearer on web
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis committed Oct 9, 2023
1 parent b215219 commit 3802ca1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/utility-screen.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
Platform,
Text,
View,
} from 'react-native';
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3802ca1

Please sign in to comment.