Skip to content

Commit 14902af

Browse files
committed
feat: update routing account pages to target android instead of web for mobile
1 parent 5244177 commit 14902af

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
mavenCentral()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:8.9.2'
10+
classpath 'com.android.tools.build:gradle:8.12.1'
1111
classpath 'com.google.gms:google-services:4.4.0'
1212

1313
// NOTE: Do not place your application dependencies here; they belong
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Wed Oct 16 15:39:18 PDT 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

frontend/src/components/AvatarMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const AvatarMenu: React.FC = () => {
9999
badge={licenseIndicator}
100100
onClick={handleClose}
101101
>
102-
{browser.isMobile && <Icon name="launch" size="sm" color="grayDark" inlineLeft fixedWidth />}
102+
{browser.isAndroid && <Icon name="launch" size="sm" color="grayDark" inlineLeft fixedWidth />}
103103
</ListItemLocation>
104104
<ListItemLink
105105
title="Support"

frontend/src/routers/Router.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export const Router: React.FC<{ layout: ILayout }> = ({ layout }) => {
346346
</Route>
347347
{/* Account */}
348348
<Route path="/account">
349-
<RedirectOffsite to={browser.isMobile ? 'https://link.remote.it/portal/account' : undefined}>
349+
<RedirectOffsite to={browser.isAndroid ? 'https://link.remote.it/portal/account' : undefined}>
350350
<DynamicPanel
351351
primary={<AccountPage />}
352352
secondary={

frontend/src/routers/ScriptingRouter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import { useSelector } from 'react-redux'
3-
import { Switch, Route, Redirect, useLocation } from 'react-router-dom'
3+
import { Switch, Route, useLocation } from 'react-router-dom'
44
import { JobDeviceDetailPage } from '../pages/JobDeviceDetailPage'
55
import { selectPermissions } from '../selectors/organizations'
66
import { ScriptEditPage } from '../pages/ScriptEditPage'

0 commit comments

Comments
 (0)