mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-11 08:35:26 +00:00
Fix a crash bug at AccountsListRow (#1602)
When you long tap a `AccountsListRow`, a `contextMenu` will be called, and then the app will be crashed. This happens because two environments are missing; `QuickLook` and `RouterPath`
This commit is contained in:
parent
e3f7eb31e4
commit
e8cb090baf
1 changed files with 2 additions and 0 deletions
|
@ -121,6 +121,8 @@ public struct AccountsListRow: View {
|
|||
.environment(theme)
|
||||
.environment(currentAccount)
|
||||
.environment(client)
|
||||
.environment(QuickLook())
|
||||
.environment(routerPath)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue