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:
Yasura Dodo 2023-10-02 11:58:13 +02:00 committed by GitHub
parent e3f7eb31e4
commit e8cb090baf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,6 +121,8 @@ public struct AccountsListRow: View {
.environment(theme)
.environment(currentAccount)
.environment(client)
.environment(QuickLook())
.environment(routerPath)
}
}
}