Skip to content

Commit 75b026a

Browse files
committed
fix(lib/discord/modules/settings): get rehydrated navigation state in refreshSettingsOverviewScreen
1 parent 2da5549 commit 75b026a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/discord/src/modules/settings

‎lib/discord/src/modules/settings/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export async function refreshSettingsOverviewScreen(renavigate?: boolean) {
112112
const navigation = RootNavigationRef.getRootNavigationRef()
113113
if (!navigation.isReady()) return false
114114

115-
const state = navigation.getState()
115+
const state = navigation.getRootState()
116116

117117
// State with SettingsOverviewScreen
118118
const settingsState = findInTree(

0 commit comments

Comments
 (0)