Skip to content

Commit

Permalink
Merge pull request #35 from KaguraGateway/refactor/remove-print-recei…
Browse files Browse the repository at this point in the history
…pt-settings

レシート印刷設定を無効化
  • Loading branch information
KaguraGateway authored Jun 20, 2024
2 parents 9f85616 + 83a43d7 commit 92c3285
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 92c3285

Please sign in to comment.