Skip to content

Commit

Permalink
fix bug related to scheme constants class import
Browse files Browse the repository at this point in the history
  • Loading branch information
MurtadhaS committed Mar 15, 2020
1 parent 259d89e commit e69073f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import co.windly.ktxaccount.runtime.scheme.MultipleAccountScheme
import co.windly.ktxaccount.runtime.scheme.SingleAccountScheme
</#if>
<#list descriptorList as descriptor>
import ${package}.AccountDefinitionConstants.Companion.DEFAULT_${descriptor.fieldNameUpperCase}
import ${package}.AccountDefinitionConstants.Companion.KEY_${descriptor.fieldNameUpperCase}
import ${package}.${constantsClassName}.Companion.DEFAULT_${descriptor.fieldNameUpperCase}
import ${package}.${constantsClassName}.Companion.KEY_${descriptor.fieldNameUpperCase}
</#list>
import io.reactivex.BackpressureStrategy.LATEST
import io.reactivex.Completable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import co.windly.ktxaccount.annotation.DefaultLong
import co.windly.ktxaccount.annotation.DefaultString

@AccountScheme(mode = Mode.SINGLE)
class AccountDefinition(
class User(

//region Id

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package co.windly.ktxaccount.sample.kotlindagger.utility.manager

import android.content.Context
import co.windly.ktxaccount.sample.kotlindagger.utility.account.AccountDefinitionScheme
import co.windly.ktxaccount.sample.kotlindagger.utility.account.UserScheme
import io.reactivex.annotations.SchedulerSupport
import io.reactivex.annotations.SchedulerSupport.IO
import javax.inject.Inject
Expand All @@ -10,7 +10,7 @@ import javax.inject.Singleton
@Singleton
@SchedulerSupport(value = IO)
class AccountUtilityManager @Inject constructor(context: Context) :
AccountDefinitionScheme(context) {
UserScheme(context) {

//region Authenticator

Expand Down

0 comments on commit e69073f

Please sign in to comment.