mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 14:25:28 +00:00
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:
@@ -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()
|
||||||
|
}
|
Reference in New Issue
Block a user