File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,14 @@ const LoadedAboutSettings = (props: {
2222 const { } = props
2323
2424 return < Col className = { 'custom-link' } >
25- < WebBuildInfo />
26- < AndroidInfo />
25+ { IS_VERCEL && < WebBuildInfo /> }
26+ { Capacitor . isNativePlatform ( ) && < AndroidInfo /> }
2727 < BackendInfo />
2828 < RuntimeInfo />
2929 </ Col >
3030}
3131
3232const WebBuildInfo = ( ) => {
33- if ( ! IS_VERCEL ) return
3433 const env = process . env . NEXT_PUBLIC_VERCEL_ENV
3534 const msg = process . env . NEXT_PUBLIC_VERCEL_GIT_COMMIT_MESSAGE
3635 const sha = process . env . NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA
@@ -46,7 +45,6 @@ const WebBuildInfo = () => {
4645}
4746
4847const AndroidInfo = ( ) => {
49- if ( ! Capacitor . isNativePlatform ( ) ) return
5048 const liveUpdateInfo = {
5149 commitSha : process . env . CAPAWESOME_BUILD_GIT_COMMIT_SHA || 'N/A' ,
5250 commitMessage : process . env . CAPAWESOME_BUILD_GIT_COMMIT_MESSAGE || 'N/A' ,
You can’t perform that action at this time.
0 commit comments