mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Clean this up!
Thanks @tewha :)
This commit is contained in:
parent
dca243527d
commit
7cc267797d
@ -98,14 +98,10 @@
|
||||
_startManagerIsInvoked = NO;
|
||||
|
||||
// check if we are really not in an app store environment
|
||||
if ([[NSBundle mainBundle] pathForResource:@"embedded" ofType:@"mobileprovision"]) {
|
||||
_appStoreEnvironment = NO;
|
||||
} else {
|
||||
#if !TARGET_IPHONE_SIMULATOR
|
||||
if (![[NSBundle mainBundle] pathForResource:@"embedded" ofType:@"mobileprovision"]) {
|
||||
_appStoreEnvironment = YES;
|
||||
}
|
||||
|
||||
#if TARGET_IPHONE_SIMULATOR
|
||||
_appStoreEnvironment = NO;
|
||||
#endif
|
||||
|
||||
[self performSelector:@selector(validateStartManagerIsInvoked) withObject:nil afterDelay:0.0f];
|
||||
|
Loading…
x
Reference in New Issue
Block a user