mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 02:01:02 +00:00
Fix crash on message tab-iPad only (#33)
This commit is contained in:
parent
f922ba344d
commit
03afa1f978
1 changed files with 1 additions and 1 deletions
|
@ -25,8 +25,8 @@ struct MessagesTab: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.id(currentAccount.account?.id)
|
.id(currentAccount.account?.id)
|
||||||
|
.environmentObject(routeurPath)
|
||||||
}
|
}
|
||||||
.environmentObject(routeurPath)
|
|
||||||
.onChange(of: $popToRootTab.wrappedValue) { popToRootTab in
|
.onChange(of: $popToRootTab.wrappedValue) { popToRootTab in
|
||||||
if popToRootTab == .messages {
|
if popToRootTab == .messages {
|
||||||
routeurPath.path = []
|
routeurPath.path = []
|
||||||
|
|
Loading…
Reference in a new issue