fix(lib/discord/modules/settings): get rehydrated navigation state in refreshSettingsOverviewScreen
This commit is contained in:
parent
2da5549cad
commit
75b026a46c
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ export async function refreshSettingsOverviewScreen(renavigate?: boolean) {
|
|||
const navigation = RootNavigationRef.getRootNavigationRef()
|
||||
if (!navigation.isReady()) return false
|
||||
|
||||
const state = navigation.getState()
|
||||
const state = navigation.getRootState()
|
||||
|
||||
// State with SettingsOverviewScreen
|
||||
const settingsState = findInTree(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue