mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-15 12:22:06 +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 {
|
||||
debugChanges()
|
||||
return content
|
||||
.themeEmpty(
|
||||
if: !profileManager.hasProfiles,
|
||||
.themeProgress(
|
||||
if: !profileManager.isReady,
|
||||
isEmpty: !profileManager.hasProfiles,
|
||||
emptyContent: emptyView
|
||||
)
|
||||
.searchable(text: $search)
|
||||
|
Loading…
Reference in New Issue
Block a user