Skip to content

Commit 2279299

Browse files
Merge pull request #1904 from msalcala11/fix-customize-home-header
Fix: use custom header in CustomizeHome.tsx when navigating from the home tab
2 parents dbc4186 + 131509a commit 2279299

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/navigation/tabs/home/components/Crypto.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,10 @@ const Crypto = () => {
378378
activeOpacity={ActiveOpacity}
379379
onPress={() => {
380380
haptic('soft');
381-
navigation.navigate('CustomizeHomeSettings');
381+
// Apply SettingsDetails config so that the custom header is used
382+
navigation.navigate('SettingsDetails', {
383+
initialRoute: 'Customize Home',
384+
} as any);
382385
}}>
383386
<CustomizeSvg width={37} height={37} />
384387
</TouchableOpacity>

0 commit comments

Comments
 (0)