Fix crash on message tab-iPad only (#33)
This commit is contained in:
parent
f922ba344d
commit
03afa1f978
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue