mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Change BITStoreUpdateManager default check interval to weekly
Since iOS 7 provides auto update, this setting is potentially less nagging on people having auto updates activated and where updates just didn't go through yet
This commit is contained in:
@@ -93,7 +93,7 @@ typedef NS_ENUM(NSInteger, BITStoreUpdateSetting) {
|
|||||||
- `BITStoreUpdateCheckWeekly`: Once a week
|
- `BITStoreUpdateCheckWeekly`: Once a week
|
||||||
- `BITStoreUpdateCheckManually`: Manually
|
- `BITStoreUpdateCheckManually`: Manually
|
||||||
|
|
||||||
**Default**: BITStoreUpdateCheckDaily
|
**Default**: BITStoreUpdateCheckWeekly
|
||||||
|
|
||||||
@warning When setting this to `BITStoreUpdateCheckManually` you need to either
|
@warning When setting this to `BITStoreUpdateCheckManually` you need to either
|
||||||
invoke the update checking process yourself with `checkForUpdate` somehow, e.g. by
|
invoke the update checking process yourself with `checkForUpdate` somehow, e.g. by
|
||||||
|
|||||||
@@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
// set defaults
|
// set defaults
|
||||||
self.checkForUpdateOnLaunch = YES;
|
self.checkForUpdateOnLaunch = YES;
|
||||||
self.updateSetting = BITStoreUpdateCheckDaily;
|
self.updateSetting = BITStoreUpdateCheckWeekly;
|
||||||
|
|
||||||
if (!BITHockeyBundle()) {
|
if (!BITHockeyBundle()) {
|
||||||
NSLog(@"[HockeySDK] WARNING: %@ is missing, built in UI is deactivated!", BITHOCKEYSDK_BUNDLE);
|
NSLog(@"[HockeySDK] WARNING: %@ is missing, built in UI is deactivated!", BITHOCKEYSDK_BUNDLE);
|
||||||
|
|||||||
Reference in New Issue
Block a user