Fix iPad half sheet

This commit is contained in:
Benoit Martins 2025-08-31 22:40:21 +02:00
parent 06b76b2935
commit 8079921236
3 changed files with 3 additions and 0 deletions

View file

@ -56,6 +56,7 @@ struct ContactsFragment: View {
showingSheet: $showingSheet,
showShareSheet: $showShareSheet
)
.environmentObject(contactsListViewModel)
} onDismiss: {}
.sheet(isPresented: $showShareSheet) {
ShareSheet(friendToShare: contactsListViewModel.selectedFriendToShare!)

View file

@ -48,6 +48,7 @@ struct ConversationsFragment: View {
ConversationsListBottomSheet(
showingSheet: $showingSheet
)
.environmentObject(conversationsListViewModel)
} onDismiss: {}
}
}

View file

@ -49,6 +49,7 @@ struct HistoryFragment: View {
isShowEditContactFragment: $isShowEditContactFragment,
isShowEditContactFragmentAddress: $isShowEditContactFragmentAddress
)
.environmentObject(historyListViewModel)
} onDismiss: {}
}
}