mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +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
|
||||
- `BITStoreUpdateCheckManually`: Manually
|
||||
|
||||
**Default**: BITStoreUpdateCheckDaily
|
||||
**Default**: BITStoreUpdateCheckWeekly
|
||||
|
||||
@warning When setting this to `BITStoreUpdateCheckManually` you need to either
|
||||
invoke the update checking process yourself with `checkForUpdate` somehow, e.g. by
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
// set defaults
|
||||
self.checkForUpdateOnLaunch = YES;
|
||||
self.updateSetting = BITStoreUpdateCheckDaily;
|
||||
self.updateSetting = BITStoreUpdateCheckWeekly;
|
||||
|
||||
if (!BITHockeyBundle()) {
|
||||
NSLog(@"[HockeySDK] WARNING: %@ is missing, built in UI is deactivated!", BITHOCKEYSDK_BUNDLE);
|
||||
|
||||
Reference in New Issue
Block a user