Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
tbodt committed Jan 16, 2022
1 parent 1089f0d commit 4850e8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,12 @@ - (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:

bootError = [self boot];

#if ISH_LINUX
[NSNotificationCenter.defaultCenter addObserverForName:UIApplicationWillEnterForegroundNotification object:UIApplication.sharedApplication queue:nil usingBlock:^(NSNotification * _Nonnull note) {
SyncHostname();
}];
SyncHostname();
#endif

return YES;
}
Expand Down

0 comments on commit 4850e8b

Please sign in to comment.