Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3448406
D14101.id46319.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D14101.id46319.diff
View Options
diff --git a/native/account/qr-auth/qr-auth-navigator.react.js b/native/account/qr-auth/qr-auth-navigator.react.js
--- a/native/account/qr-auth/qr-auth-navigator.react.js
+++ b/native/account/qr-auth/qr-auth-navigator.react.js
@@ -7,6 +7,7 @@
import { createStackNavigator } from '@react-navigation/stack';
import * as React from 'react';
+import SecondaryDeviceQRCodeScanner from './secondary-device-qr-code-scanner.react.js';
import type { RootNavigationProp } from '../../navigation/root-navigator.react.js';
import {
type NavigationRoute,
@@ -14,7 +15,6 @@
type ScreenParamList,
SecondaryDeviceQRCodeScannerRouteName,
} from '../../navigation/route-names.js';
-import SecondaryDeviceQRCodeScanner from '../../profile/secondary-device-qr-code-scanner.react.js';
import { deviceIsEmulator } from '../../utils/url-utils.js';
export type QRAuthNavigationProp<RouteName: $Keys<QRAuthNavigatorParamList>> =
diff --git a/native/profile/secondary-device-qr-code-scanner.react.js b/native/account/qr-auth/secondary-device-qr-code-scanner.react.js
rename from native/profile/secondary-device-qr-code-scanner.react.js
rename to native/account/qr-auth/secondary-device-qr-code-scanner.react.js
--- a/native/profile/secondary-device-qr-code-scanner.react.js
+++ b/native/account/qr-auth/secondary-device-qr-code-scanner.react.js
@@ -29,19 +29,19 @@
} from 'lib/types/tunnelbroker/peer-to-peer-message-types.js';
import { qrCodeAuthMessageTypes } from 'lib/types/tunnelbroker/qr-code-auth-message-types.js';
-import type { QRAuthNavigationProp } from '../account/qr-auth/qr-auth-navigator.react.js';
-import TextInput from '../components/text-input.react.js';
-import { commCoreModule } from '../native-modules.js';
-import HeaderRightTextButton from '../navigation/header-right-text-button.react.js';
-import type { NavigationRoute } from '../navigation/route-names.js';
-import { useSelector } from '../redux/redux-utils.js';
-import { useStyles, useColors } from '../themes/colors.js';
-import Alert from '../utils/alert.js';
+import type { QRAuthNavigationProp } from './qr-auth-navigator.react.js';
+import TextInput from '../../components/text-input.react.js';
+import { commCoreModule } from '../../native-modules.js';
+import HeaderRightTextButton from '../../navigation/header-right-text-button.react.js';
+import type { NavigationRoute } from '../../navigation/route-names.js';
+import { useSelector } from '../../redux/redux-utils.js';
+import { useStyles, useColors } from '../../themes/colors.js';
+import Alert from '../../utils/alert.js';
import {
composeTunnelbrokerQRAuthMessage,
parseTunnelbrokerQRAuthMessage,
-} from '../utils/qr-code-utils.js';
-import { deviceIsEmulator } from '../utils/url-utils.js';
+} from '../../utils/qr-code-utils.js';
+import { deviceIsEmulator } from '../../utils/url-utils.js';
const barCodeTypes = [BarCodeScanner.Constants.BarCodeType.qr];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 12, 10:40 PM (20 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2649431
Default Alt Text
D14101.id46319.diff (2 KB)
Attached To
Mode
D14101: [native] move `SecondaryDeviceQRCodeScanner` to `qr-auth` directory
Attached
Detach File
Event Timeline
Log In to Comment