Skip to content

SwiftLint Test PR2 #6

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
9 changes: 6 additions & 3 deletions ChipBetting/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
// Created by HanGyeongjun on 2022/12/25.
//

import UIKit
import SwiftUI
import Foundation

struct ContentView: View {

Expand All @@ -21,7 +23,7 @@ struct ContentView: View {
@State var isChipSettingMode: Bool = false
//칩 개수 슬라이더
@State var sliderValue = 30.0
let minValue = 10.0
let MinValue = 10.0
let maxValue = 100.0
//리셋 알럿
@State var showingAlert: Bool = false
Expand Down Expand Up @@ -68,7 +70,7 @@ struct ContentView: View {
HStack(spacing: 20) {
Text("\(Int(sliderValue))개")
.font(.title)
Slider(value: $sliderValue, in: minValue...maxValue)
Slider(value: $sliderValue, in: MinValue...maxValue)
}
.padding(.horizontal, 60)
}
Expand Down Expand Up @@ -212,7 +214,8 @@ struct ContentView: View {
thirdPlayer -= 1
fourthPlayer -= 1
mainBet += 3
} label: {
}
label: {
Text("일괄베팅")
.font(/*@START_MENU_TOKEN@*/.title/*@END_MENU_TOKEN@*/)
.padding(.all, 40)
Expand Down