Page MenuHomePhabricator

D14146.id46379.diff
No OneTemporary

D14146.id46379.diff

diff --git a/native/profile/profile-screen.react.js b/native/profile/profile-screen.react.js
--- a/native/profile/profile-screen.react.js
+++ b/native/profile/profile-screen.react.js
@@ -29,7 +29,10 @@
useDispatchActionPromise,
type DispatchActionPromise,
} from 'lib/utils/redux-promise-utils.js';
-import { usingCommServicesAccessToken } from 'lib/utils/services-utils.js';
+import {
+ usingCommServicesAccessToken,
+ usingRestoreFlow,
+} from 'lib/utils/services-utils.js';
import type { ProfileNavigationProp } from './profile.react.js';
import { deleteNativeCredentialsFor } from '../account/native-credentials.js';
@@ -255,7 +258,7 @@
}
let linkedDevices;
- if (__DEV__) {
+ if (usingRestoreFlow) {
linkedDevices = (
<ProfileRow content="Linked devices" onPress={this.onPressDevices} />
);

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 12:44 AM (18 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2674057
Default Alt Text
D14146.id46379.diff (851 B)

Event Timeline