File tree Expand file tree Collapse file tree
KYPhotoLibraryDemo/KYPhotoLibraryDemo/Views Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ struct ArchivesView: View {
3131 self . viewModel. loadCachedFiles ( )
3232 }
3333 . toolbar {
34- ToolbarItemGroup ( placement : . confirmationAction ) {
35- if ! self . viewModel . assetFilenames . isEmpty {
34+ if ! self . viewModel . assetFilenames . isEmpty {
35+ ToolbarItem ( placement : . confirmationAction ) {
3636 Button ( role: . destructive) {
3737 self . isPresentingDeletionDialog = true
3838 } label: {
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ struct AssetDetailsView: View {
3939 }
4040 }
4141 . toolbar {
42- ToolbarItemGroup ( placement : . topBarTrailing ) {
43- if self . viewModel . processing != . load {
42+ if self . viewModel . processing != . load {
43+ ToolbarItem ( placement : . topBarTrailing ) {
4444 if self . viewModel. type == . archive {
4545 _archivesNavigationBarMoreMenu ( )
4646 } else {
You can’t perform that action at this time.
0 commit comments