Set default value for automaticallyUpdateAccountsAfterMinutes to six hours

This commit is contained in:
dankito 2020-10-17 00:56:05 +02:00
parent 6c17449fc4
commit cf02128e94
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ open class AppSettings(
) {
companion object {
const val DefaultAutomaticallyUpdateAccountsAfterMinutes = 8 * 60 // 8 hours
const val DefaultAutomaticallyUpdateAccountsAfterMinutes = 6 * 60 // 6 hours
}

View File

@ -38,7 +38,7 @@
</entity>
<entity name="PersistedAppSettings" representedClassName="PersistedAppSettings" syncable="YES" codeGenerationType="class">
<attribute name="automaticallyUpdateAccounts" attributeType="Boolean" defaultValueString="YES" usesScalarValueType="YES"/>
<attribute name="automaticallyUpdateAccountsAfterMinutes" optional="YES" attributeType="Integer 32" defaultValueString="480" usesScalarValueType="YES"/>
<attribute name="automaticallyUpdateAccountsAfterMinutes" optional="YES" attributeType="Integer 32" defaultValueString="360" usesScalarValueType="YES"/>
<attribute name="lockAppAfterMinutes" optional="YES" attributeType="Integer 32" defaultValueString="-1" usesScalarValueType="NO"/>
<relationship name="flickerCodeSettings" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="PersistedTanMethodSettings"/>
<relationship name="photoTanSettings" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="PersistedTanMethodSettings"/>