Revert "chore: remove unnecessary CryptoHandlerModule
"
This is used in #2170 so let's avoid the unnecessary conflict.
This reverts commit f5bf45037a
.
This commit is contained in:
parent
f5bf45037a
commit
9f5062986d
1 changed files with 18 additions and 0 deletions
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
|
||||
* SPDX-License-Identifier: GPL-3.0-only
|
||||
*/
|
||||
|
||||
package app.passwordstore.injection.crypto
|
||||
|
||||
import app.passwordstore.crypto.PGPainlessCryptoHandler
|
||||
import dagger.Module
|
||||
import dagger.Provides
|
||||
import dagger.hilt.InstallIn
|
||||
import dagger.hilt.components.SingletonComponent
|
||||
|
||||
@Module
|
||||
@InstallIn(SingletonComponent::class)
|
||||
object CryptoHandlerModule {
|
||||
@Provides fun providePgpCryptoHandler() = PGPainlessCryptoHandler()
|
||||
}
|
Loading…
Reference in a new issue