Home > AI > IOS > SwiftUI >

term agree checkbox

HStack {
                Image(systemName: agreeLaw ? "checkmark.circle.fill" : "checkmark.circle")
                    .resizable()
                    .aspectRatio(contentMode: .fit)
                    .frame(width: home.defaultPadding, height: home.defaultPadding)
                    .foregroundColor(agreeLaw ? Color("logoBgColor") : .gray)
                    .onTapGesture {
                        agreeLaw.toggle()
                    }
                Spacer()
                LoginTermView()
            }
            .padding(.horizontal)

Leave a Reply