feature/api_timeout_and_settings_cleaning
master
Closes #43 #37 #19
f1f40ae2e0
8b2be5c55c
@@ -9,2 +10,3 @@
actual class DateUtils actual constructor(private val apiMajorVersion: Int) {
actual class DateUtils actual constructor(appSettingsService: AppSettingsService) {
val ads: AppSettingsService = appSettingsService // TODO: why is this needed now ?
I think you have to declare it's a val in the class constructor in order to make it a class variable and use it within functions.
I couldn't. I had to do as mentionned here to "fix" this.
@@ -0,0 +69,4 @@
fun getUserName(): String {
if (_userName.isEmpty()) {
refrershUsername()
This has a typo
Good catch
No dependencies set.
The note is not visible to the blocked user.
Closes #43 #37 #19
f1f40ae2e0to8b2be5c55c@@ -9,2 +10,3 @@actual class DateUtils actual constructor(private val apiMajorVersion: Int) {actual class DateUtils actual constructor(appSettingsService: AppSettingsService) {val ads: AppSettingsService = appSettingsService // TODO: why is this needed now ?I think you have to declare it's a val in the class constructor in order to make it a class variable and use it within functions.
I couldn't. I had to do as mentionned here to "fix" this.
@@ -0,0 +69,4 @@fun getUserName(): String {if (_userName.isEmpty()) {refrershUsername()This has a typo
Good catch