diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/app/passwordstore/injection/pwgen/DicewareModule.kt | 5 |
1 files changed, 2 insertions, 3 deletions
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) } } |