@@ -24,7 +24,7 @@ android {
applicationId "com.example.modifier"
minSdk 26
targetSdk 34
- versionCode 116
+ versionCode 117
versionName "1.0.1"
archivesBaseName = "modifier-${versionCode}"
@@ -686,6 +686,7 @@ object Global {
File(it.path).deleteRecursively()
backupItemDao.delete(it)
backup.sendCount += it.sendCount
+ backup.fresh = false
}
backup.id = backupItemDao.insert(backup).toInt()
@@ -25,5 +25,5 @@ data class BackupItem(
val lastUse: Long,
val type: String,
@ColumnInfo(defaultValue = "0")
- val fresh: Boolean = false
+ var fresh: Boolean = false
)