 	@IBOutlet weak var enableTwentyOneLabel: UILabel!
 	@IBOutlet weak var forceUpdateButton: UIButton!
 	@IBOutlet weak var openSettingsAppButton: UIButton!
+	var enterForegroundObserver:NSObjectProtocol?
 
 	private lazy var dateFormatter:DateFormatter = {
 		let df = DateFormatter()

 * See LICENSE for details.
 */

import UIKit

class ViewController: UIViewController

				})
		})
	}

	func updateInstructions()
	{
		SFContentBlockerManager.getStateOfContentBlocker(withIdentifier:Constants.ContentBlockerBundleID, completionHandler:{(state, error) in
			if let e = error {
				Logger.log("ERROR (get blocker state): \(e.localizedDescription)")
				return
			}

			DispatchQueue.main.async {
				if let enabled = state?.isEnabled {
					if enabled {
						self.subheadLabel.text = "Twenty One is currently enabled. To disable, follow these instructions."
						self.enableTwentyOneLabel.text = "Disable Twenty One"
					} else {
						self.subheadLabel.text = "Follow these instructions to block many (but not all) age gates on alcohol-related websites."
						self.enableTwentyOneLabel.text = "Enable Twenty One"
					}
				}
			}
		});
	}
}

