Просмотр исходного кода

Merge remote-tracking branch 'refs/remotes/origin/main'

Conflicts:
	FreeAPS/Sources/APS/APSManager.swift
Jon Mårtensson 3 лет назад
Родитель
Сommit
8174c61a4f
3 измененных файлов с 5 добавлено и 4 удалено
  1. 1 1
      Config.xcconfig
  2. 1 1
      FreeAPS/Sources/APS/APSManager.swift
  3. 3 2
      README.md

+ 1 - 1
Config.xcconfig

@@ -1,5 +1,5 @@
 APP_DISPLAY_NAME = iAPS
-APP_VERSION = 1.6.0
+APP_VERSION = 1.6.1
 APP_BUILD_NUMBER = 1
 COPYRIGHT_NOTICE =
 DEVELOPER_TEAM = ##TEAM_ID##

+ 1 - 1
FreeAPS/Sources/APS/APSManager.swift

@@ -744,7 +744,7 @@ final class BaseAPSManager: APSManager, Injectable {
                 requestStats.fetchLimit = 1
                 try? stats = coredataContext.fetch(requestStats)
                 // Only save and upload once per day
-                guard (-1 * (stats.first?.lastrun ?? .distantPast).timeIntervalSinceNow.minutes) > 20 else { return }
+                guard (-1 * (stats.first?.lastrun ?? .distantPast).timeIntervalSinceNow.hours) > 22 else { return }
 
                 let units = self.settingsManager.settings.units
                 let preferences = settingsManager.preferences

+ 3 - 2
README.md

@@ -51,7 +51,7 @@ https://loopkit.github.io/loopdocs/gh-actions/gh-overview/
 
 # iPhone and iPod
 
-iAPS app runs on iPhone or iPod. An iPhone 7 or newer is recommended.
+iAPS app runs on iPhone or iPod. An iPhone 8 or newer is required.
 
 # Documentation
 
@@ -61,7 +61,8 @@ iAPS app runs on iPhone or iPod. An iPhone 7 or newer is recommended.
 
 [OpenAPS documentation](https://openaps.readthedocs.io/en/latest/)
 
-[Crowdin Project for translation of iAPS](https://crowdin.com/project/freeaps-x)
+[Crowdin Project for translation of iAPS](https://crowdin.com/project/iaps)  
+[![Crowdin](https://badges.crowdin.net/iaps/localized.svg)](https://crowdin.com/project/iaps)
 
 [Middleware code for iAPS](https://github.com/Jon-b-m/middleware)