AppConfig: Fix Steve's remarks

This commit is contained in:
manuroe
2020-07-29 10:03:37 +02:00
parent 19432720d3
commit 2e0ee3bb7d
10 changed files with 72 additions and 13 deletions
@@ -75,7 +75,8 @@ typedef NS_ENUM(NSInteger, ImageCompressionMode)
[NSNotificationCenter.defaultCenter addObserver:sharedInstance selector:@selector(didReceiveMemoryWarning:) name:UIApplicationDidReceiveMemoryWarningNotification object:nil];
// Set static application settings
[Config.shared setupSettings];
sharedInstance->_configuration = [Config new];
[sharedInstance.configuration setupSettings];
// NSLog -> console.log file when not debugging the app
if (!isatty(STDERR_FILENO))