File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
SwiftUI-WorkoutApp.xcodeproj
SwiftUI-WorkoutApp/Services Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 466466 INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
467467 INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
468468 IPHONEOS_DEPLOYMENT_TARGET = 16.0;
469- MARKETING_VERSION = 3.15 .0;
469+ MARKETING_VERSION = 3.16 .0;
470470 PRODUCT_BUNDLE_IDENTIFIER = "com.oleg991.SW-Parks";
471471 PRODUCT_NAME = WorkoutApp;
472472 PROVISIONING_PROFILE_SPECIFIER = "";
520520 INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
521521 INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
522522 IPHONEOS_DEPLOYMENT_TARGET = 16.0;
523- MARKETING_VERSION = 3.15 .0;
523+ MARKETING_VERSION = 3.16 .0;
524524 PRODUCT_BUNDLE_IDENTIFIER = "com.oleg991.SW-Parks";
525525 PRODUCT_NAME = WorkoutApp;
526526 PROVISIONING_PROFILE_SPECIFIER = "";
Original file line number Diff line number Diff line change @@ -84,11 +84,11 @@ extension SWAddress {
8484extension SWAddress {
8585 /// Проверяет, нужно ли обновлять справочник стран/городов
8686 ///
87- /// По статистике Антона справочник на сервере обновляется в среднем раз в месяц
87+ /// Обновляем, если прошло больше дня с момента предыдущего обновления
8888 /// - Parameter lastUpdateDate: Дата предыдущего успешного обновления справочника
8989 /// - Returns: `true` - нужно обновлять, `false` - не нужно
9090 func needUpdate( _ lastUpdateDate: Date ) -> Bool {
91- DateFormatterService . days ( from: lastUpdateDate, to: . now) > 30
91+ DateFormatterService . days ( from: lastUpdateDate, to: . now) > 1
9292 }
9393
9494 /// Возвращает сохраненный в памяти справочник стран/городов
You can’t perform that action at this time.
0 commit comments