https://kotlinlang.org logo
#ios
Title
d

Daniele B

09/14/2020, 6:00 PM
I have this Repository class in the `commonMain`:
Copy code
class Repository {
    companion object Data {
        var lastUpdate: String? = null
        var countriesListWithSummary: List<CountrySummary> = emptyList()
    }
}
when I compile it for iOS, I get these warnings:
Variable in singleton without @ThreadLocal can't be changed after initialization
Is it something I should fix, and why I get them?