Skip to content

Commit

Permalink
[design] #154 CategoryDetail 뒤로가기 버튼 아이패드 분기
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Oct 26, 2024
1 parent 74418c1 commit 44e81a2
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,15 @@ public extension CategoryDetailView {
private extension CategoryDetailView {
var navigationBar: some View {
PokitHeader {
PokitHeaderItems(placement: .leading) {
PokitToolbarButton(
.icon(.arrowLeft),
action: { send(.dismiss) }
)
if Device.isPhone {
PokitHeaderItems(placement: .leading) {
PokitToolbarButton(
.icon(.arrowLeft),
action: { send(.dismiss) }
)
}
}

PokitHeaderItems(placement: .trailing) {
PokitToolbarButton(
.icon(.kebab),
Expand Down

0 comments on commit 44e81a2

Please sign in to comment.