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