Plugins: Fix crash on iOS 14
When installing an action and going back and forth to a different tab, the app crashes on iOS 14. Fix this by refreshing the list without worrying about previous state. This makes Ferrite more efficient in terms of plugin fetching. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
371281118f
commit
5a73efa9dc
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ struct PluginAggregateView<P: Plugin, PJ: PluginJson>: View {
|
|||
}
|
||||
.inlinedList(inset: 0)
|
||||
.listStyle(.insetGrouped)
|
||||
.id(UUID())
|
||||
.backport.onAppear {
|
||||
pluginsEmpty = installedPlugins.isEmpty
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue