Skip to content

Commit

Permalink
Correct conditional causing blowby button to not appear, set target t…
Browse files Browse the repository at this point in the history
…o dev realm
  • Loading branch information
LocalNewsTV committed Jun 13, 2024
1 parent 70ddc06 commit 210f412
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ipad/Constants/AppRemoteAPIConst.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class RemoteURLManager {
static var `default` = {
// Here We Can use Target Flag to customize
// Switch Env
return RemoteURLManager(.local)
return RemoteURLManager(.dev)
}()

init(_ env: RemoteEnv) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class BlowbyTableCollectionViewCell: BaseShiftOverviewCollectionViewCell {
columns.append(TableViewColumnConfig(key: "", header: "Edit", type: .Button, buttonName: "Edit", showHeader: false))

// Disable adding blowbys if not completed and hide delete button
if [.Draft, .Errors].contains(model.getStatus()) {
if ![.Draft, .Errors].contains(model.getStatus()) {
columns.removeLast()
blowByButton.alpha = 0
blowByButton.isEnabled = false
Expand Down

0 comments on commit 210f412

Please sign in to comment.