Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ”€ :: (#376) μƒλ²Œμ  λ‚΄μ—­ νŽ˜μ΄μ§€ μ…€λ ‰ν„° SD;의 μ…€λ ‰ν„°λ‘œ λ³€ν™˜ #380

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions Application/Sources/Scene/PointHistory/PointHistoryView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Tuist/Dependencies.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down