diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index 36bccbca..c2f393ad 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -12,17 +12,6 @@ column="19"/> - - - - diff --git a/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt b/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt index 78bad768..d8057356 100644 --- a/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt +++ b/app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt @@ -8,6 +8,7 @@ package app.passwordstore.injection.pwgen import android.content.Context import app.passwordstore.passgen.diceware.DicewarePassphraseGenerator import app.passwordstore.passgen.diceware.Die +import app.passwordstore.passgen.diceware.R as dicewareR import app.passwordstore.passgen.diceware.RandomIntGenerator import dagger.Module import dagger.Provides @@ -46,9 +47,7 @@ object DicewareModule { @[Provides WordlistQualifier] fun provideDefaultWordList(@ApplicationContext context: Context): InputStream { - return context.resources.openRawResource( - app.passwordstore.passgen.diceware.R.raw.diceware_wordlist - ) + return context.resources.openRawResource(dicewareR.raw.diceware_wordlist) } }