Skip to content

Commit

Permalink
version 1.1.1 - managed app config MAINTENANCE_MODE bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Maxim committed May 26, 2017
1 parent b8c460c commit f25c24c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Managed View/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1</string>
<string>1.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>16</string>
<string>17</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
2 changes: 1 addition & 1 deletion Managed View/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class ViewController: UIViewController {

// Check if MAINTENANCE_MODE key is set to "ON"

if (String(describing: ManAppConfig["MAINTENANCE_MODE"]!) == "ON") {
if (MAINTENANCE_MODE == "ON") {

newurl = URL.init(fileURLWithPath: Bundle.main.path(forResource: "curtain", ofType: "png", inDirectory: "img")!)

Expand Down

0 comments on commit f25c24c

Please sign in to comment.