Fix crash on message tab-iPad only (#33)

This commit is contained in:
Sean Goldin 2023-01-06 10:09:52 -06:00 committed by GitHub
parent f922ba344d
commit 03afa1f978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,8 +25,8 @@ struct MessagesTab: View {
}
}
.id(currentAccount.account?.id)
.environmentObject(routeurPath)
}
.environmentObject(routeurPath)
.onChange(of: $popToRootTab.wrappedValue) { popToRootTab in
if popToRootTab == .messages {
routeurPath.path = []