Skip to content

Commit

Permalink
refactor: レシート印刷設定を無効化
Browse files Browse the repository at this point in the history
  • Loading branch information
nyagasan committed Jun 20, 2024
1 parent 9f85616 commit 83a43d7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ struct GeneralSettingView: View {
@State private var displayConnection: Bool = true // true: 接続中, false: 切断中
@State private var serverConnection: Bool = true // true: 接続中, false: 切断中
@State private var usePrinter = true
@State private var printReceipt = true
@State private var printReceipt = false
@State private var printTicket = true
@State private var useDrawer = true
@State private var isLogoutDisabled = true
Expand Down Expand Up @@ -60,6 +60,7 @@ struct GeneralSettingView: View {
if usePrinter {
Section {
Toggle("会計レシート印刷", isOn : $printReceipt)
.disabled(true)
if printReceipt{
Button(action: {}) {
Text("会計レシート印刷テスト")
Expand Down

0 comments on commit 83a43d7

Please sign in to comment.