Merge pull request #4856 from Bnyro/master

fix: crash when importing old backup
This commit is contained in:
Bnyro 2023-09-26 12:38:38 +02:00 committed by GitHub
commit 7bb854cf8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,6 @@ import kotlinx.serialization.Serializable
@Entity(tableName = "subscriptionGroups")
data class SubscriptionGroup(
@PrimaryKey var name: String,
var channels: List<String>,
var index: Int
var channels: List<String> = listOf(),
var index: Int = 0
)