Skip to content

Commit fc3af95

Browse files
committed
[Chore] #202 - 불필요한 NavigationStack 래핑 제거
1 parent fe31e34 commit fc3af95

4 files changed

Lines changed: 4 additions & 12 deletions

File tree

Neki-iOS/Features/Archive/Sources/Presentation/Sources/View/ArchiveAlbumDetailView.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ struct ArchiveAlbumDetailView: View {
5757
.animation(.easeInOut(duration: 0.3), value: store.photos)
5858
.task { await store.send(.onAppear).finish() }
5959
.fullScreenCover(item: $store.scope(state: \.albumSelection, action: \.albumSelection)) { selectionStore in
60-
NavigationStack {
61-
AlbumSelectionView(store: selectionStore)
62-
}
60+
AlbumSelectionView(store: selectionStore)
6361
}
6462
// 사진 가져오기 시트
6563
.sheet(item: $store.scope(state: \.photoImport, action: \.photoImport)) { importStore in

Neki-iOS/Features/Archive/Sources/Presentation/Sources/View/ArchiveAllPhotosView.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ struct ArchiveAllPhotosView: View {
7878
await store.send(.onAppear).finish()
7979
}
8080
.fullScreenCover(item: $store.scope(state: \.albumSelection, action: \.albumSelection)) { selectionStore in
81-
NavigationStack {
82-
AlbumSelectionView(store: selectionStore)
83-
}
81+
AlbumSelectionView(store: selectionStore)
8482
}
8583
}
8684
}

Neki-iOS/Features/Archive/Sources/Presentation/Sources/View/ArchiveFavoriteAlbumView.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ struct ArchiveFavoriteAlbumView: View {
5454
.animation(.easeInOut(duration: 0.3), value: store.photos)
5555
.task { await store.send(.onAppear).finish() }
5656
.fullScreenCover(item: $store.scope(state: \.albumSelection, action: \.albumSelection)) { selectionStore in
57-
NavigationStack {
58-
AlbumSelectionView(store: selectionStore)
59-
}
57+
AlbumSelectionView(store: selectionStore)
6058
}
6159
.nekiAlert(
6260
isPresented: $showDeleteAlert,

Neki-iOS/Features/Archive/Sources/Presentation/Sources/View/ArchivePhotoDetailView.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ struct ArchivePhotoDetailView: View {
8989
}
9090
}
9191
.fullScreenCover(item: $store.scope(state: \.albumSelection, action: \.albumSelection)) { selectionStore in
92-
NavigationStack {
93-
AlbumSelectionView(store: selectionStore)
94-
}
92+
AlbumSelectionView(store: selectionStore)
9593
}
9694
.nekiAlert(
9795
isPresented: $showDeleteAlert,

0 commit comments

Comments
 (0)