Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #65 from afornes/night-mode-bugfix
Browse files Browse the repository at this point in the history
Night Mode Bugfix
  • Loading branch information
hebertialmeida committed May 3, 2016
2 parents 3793a94 + b31305c commit 4268ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/FolioReaderKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class FolioReader : NSObject {


var nightMode: Bool {
get { return FolioReader.defaults.valueForKey(kNightMode) as! Bool }
get { return FolioReader.defaults.boolForKey(kNightMode) }
set (value) {
FolioReader.defaults.setValue(value, forKey: kNightMode)
FolioReader.defaults.synchronize()
Expand Down

0 comments on commit 4268ebf

Please sign in to comment.