From 38799a38e0054d3fea5752905b5a44510e30a6ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=88=98=EC=99=84?= Date: Tue, 27 Dec 2022 23:32:52 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20::=20SD;=20=EC=97=85?= =?UTF-8?q?=EB=8D=B0=EC=9D=B4=ED=8A=B8=20to=201.9.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tuist/Dependencies.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tuist/Dependencies.swift b/Tuist/Dependencies.swift index 9ffd1f80..0e3c985f 100644 --- a/Tuist/Dependencies.swift +++ b/Tuist/Dependencies.swift @@ -25,7 +25,7 @@ let dependencies = Dependencies( requirement: .upToNextMajor(from: "6.5.0")), // SemicolonDesign .remote(url: "https://github.com/semicolonDSM/SemicolonDesign_iOS.git", - requirement: .upToNextMajor(from: "1.8.1")) + requirement: .upToNextMajor(from: "1.9.1")) ], baseSettings: Settings.settings( configurations: [ From 392fab17ed0924203da84fe8fe1116f3b9952ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=88=98=EC=99=84?= Date: Tue, 27 Dec 2022 23:33:20 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20::=20=EC=83=81?= =?UTF-8?q?=EB=B2=8C=EC=A0=90=20=EB=82=B4=EC=97=AD=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EC=85=80=EB=A0=89=ED=84=B0=20SD;=EC=9D=98=20?= =?UTF-8?q?=EC=85=80=EB=A0=89=ED=84=B0=EB=A1=9C=20=EB=B3=80=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Scene/PointHistory/PointHistoryView.swift | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Application/Sources/Scene/PointHistory/PointHistoryView.swift b/Application/Sources/Scene/PointHistory/PointHistoryView.swift index 13c9d6d6..45225ecd 100644 --- a/Application/Sources/Scene/PointHistory/PointHistoryView.swift +++ b/Application/Sources/Scene/PointHistory/PointHistoryView.swift @@ -4,8 +4,7 @@ import SemicolonDesign struct PointHistoryView: View { - @State var isGoodPointButtonSelected: Bool = true - @State var isBadPointButtonSelected: Bool = false + @State var selectedIndex: Int = 0 var body: some View { VStack(alignment: .leading) { @@ -14,14 +13,10 @@ struct PointHistoryView: View { .sdText(type: .body4) .padding(.horizontal, 16) - HStack { - SelectButtonView(selection: $isGoodPointButtonSelected, text: "상점") { - self.isBadPointButtonSelected = false - } - SelectButtonView(selection: $isBadPointButtonSelected, text: "벌점") { - self.isGoodPointButtonSelected = false - } - } + Selector( + selectedIndex: self.$selectedIndex, + buttonTitles: ["상점", "벌점"] + ) .padding([.horizontal, .vertical], 16) ScrollView {