Skip to content

Commit 1e304d1

Browse files
committed
Added assert if api keys not set
1 parent 69c52dd commit 1e304d1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

BitStore/Controller/AppStart.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
#import "AppDelegate.h"
1616
#import "RequestHelper.h"
1717
#import "MainViewControllerPhone.h"
18+
#import "Keys.h"
1819

1920
@implementation AppStart
2021

2122
+ (void)start {
23+
NSAssert([Keys chainKey].length > 0, @"Missing API keys!");
2224
[self migrate];
2325
[self setupStorage];
2426
[self setupKeychain];

0 commit comments

Comments
 (0)