Skip to content

Commit

Permalink
Merge pull request #2 from MurtadhaS/master
Browse files Browse the repository at this point in the history
Decrease min-sdk & Fix constants class bug
  • Loading branch information
Tomasz Dzieniak authored Mar 15, 2020
2 parents 3112703 + e69073f commit 8fc2dc0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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
2 changes: 1 addition & 1 deletion versions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ deps.build = build

def build_versions = [:]
build_versions.compile_sdk = 29
build_versions.min_sdk = 22
build_versions.min_sdk = 16
build_versions.target_sdk = 29
deps.build_versions = build_versions

Expand Down

0 comments on commit 8fc2dc0

Please sign in to comment.