Config: Cut AppConfig into Config and AppConfig

so that the app can have its own configuration
This commit is contained in:
manuroe
2020-07-28 17:20:14 +02:00
parent ada5bc7d73
commit 621a631ac5
7 changed files with 129 additions and 88 deletions
@@ -75,7 +75,7 @@ typedef NS_ENUM(NSInteger, ImageCompressionMode)
[NSNotificationCenter.defaultCenter addObserver:sharedInstance selector:@selector(didReceiveMemoryWarning:) name:UIApplicationDidReceiveMemoryWarningNotification object:nil];
// Set static application settings
[AppConfig.shared setupSettings];
[Config.shared setupSettings];
// NSLog -> console.log file when not debugging the app
if (!isatty(STDERR_FILENO))