Skip to content

Commit 45c9997

Browse files
committed
Add debug settings scene
1 parent 1fdbca2 commit 45c9997

7 files changed

Lines changed: 862 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased (develop)
44

55
- added: New Banxa payment methods
6+
- added: Debug settings scene (Developer Mode only) with nodes/servers inspection, engine `dataDump` viewer, and log viewer
67

78
## 4.45.0 (staging)
89

src/components/Main.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ import { CreateWalletImportScene as CreateWalletImportSceneComponent } from './s
7171
import { CreateWalletSelectCryptoScene as CreateWalletSelectCryptoSceneComponent } from './scenes/CreateWalletSelectCryptoScene'
7272
import { CurrencyNotificationScene as CurrencyNotificationSceneComponent } from './scenes/CurrencyNotificationScene'
7373
import { CurrencySettingsScene as CurrencySettingsSceneComponent } from './scenes/CurrencySettingsScene'
74+
import { DebugScene as DebugSceneComponent } from './scenes/DebugScene'
7475
import { DefaultFiatSettingScene as DefaultFiatSettingSceneComponent } from './scenes/DefaultFiatSettingScene'
7576
import { DevTestScene } from './scenes/DevTestScene'
7677
import { DuressModeHowToScene as DuressModeHowToSceneComponent } from './scenes/DuressModeHowToScene'
@@ -209,6 +210,7 @@ const CreateWalletSelectFiatScene = ifLoggedIn(
209210
)
210211
const CurrencyNotificationScene = ifLoggedIn(CurrencyNotificationSceneComponent)
211212
const CurrencySettingsScene = ifLoggedIn(CurrencySettingsSceneComponent)
213+
const DebugScene = ifLoggedIn(DebugSceneComponent)
212214
const DefaultFiatSettingScene = ifLoggedIn(DefaultFiatSettingSceneComponent)
213215
const EarnScene = ifLoggedIn(EarnSceneComponent)
214216
const EdgeLoginScene = ifLoggedIn(EdgeLoginSceneComponent)
@@ -1105,6 +1107,13 @@ const EdgeAppStack: React.FC = () => {
11051107
options={{ headerShown: false }}
11061108
/>
11071109
<AppStack.Screen name="send2" component={SendScene2} />
1110+
<AppStack.Screen
1111+
name="debugSettings"
1112+
component={DebugScene}
1113+
options={{
1114+
title: lstrings.settings_debug_title
1115+
}}
1116+
/>
11081117
<AppStack.Screen
11091118
name="settingsOverview"
11101119
component={SettingsScene}

0 commit comments

Comments
 (0)