mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-16 04:42:11 +00:00
Fix "No profiles" message flashing on launch (#1147)
Due to a regression in #1135
This commit is contained in:
parent
eb32aed2a4
commit
d51c60c5c8
@ -109,8 +109,9 @@ private struct ContainerModifier: ViewModifier {
|
|||||||
func body(content: Content) -> some View {
|
func body(content: Content) -> some View {
|
||||||
debugChanges()
|
debugChanges()
|
||||||
return content
|
return content
|
||||||
.themeEmpty(
|
.themeProgress(
|
||||||
if: !profileManager.hasProfiles,
|
if: !profileManager.isReady,
|
||||||
|
isEmpty: !profileManager.hasProfiles,
|
||||||
emptyContent: emptyView
|
emptyContent: emptyView
|
||||||
)
|
)
|
||||||
.searchable(text: $search)
|
.searchable(text: $search)
|
||||||
|
Loading…
Reference in New Issue
Block a user