Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-08 19:28:17 +03:00
parent 8af068b74b
commit fc319f2b70
17 changed files with 518 additions and 68 deletions

View file

@ -1,5 +1,7 @@
package com.tangem.tap.di.domain
import com.tangem.domain.pushnotificationpreferences.IsPushNotificationFirstActivationDoneUseCase
import com.tangem.domain.pushnotificationpreferences.MarkPushNotificationFirstActivationDoneUseCase
import com.tangem.domain.pushnotificationpreferences.ObserveWalletPushNotificationPreferencesUseCase
import com.tangem.domain.pushnotificationpreferences.PreloadWalletPushNotificationPreferencesUseCase
import com.tangem.domain.pushnotificationpreferences.SetAllWalletPushNotificationPreferencesUseCase
@ -46,4 +48,20 @@ internal object PushNotificationPreferencesDomainModule {
): SetAllWalletPushNotificationPreferencesUseCase {
return SetAllWalletPushNotificationPreferencesUseCase(repository = repository)
}
@Provides
@Singleton
fun providesIsPushNotificationFirstActivationDoneUseCase(
repository: WalletPushNotificationPreferencesRepository,
): IsPushNotificationFirstActivationDoneUseCase {
return IsPushNotificationFirstActivationDoneUseCase(repository = repository)
}
@Provides
@Singleton
fun providesMarkPushNotificationFirstActivationDoneUseCase(
repository: WalletPushNotificationPreferencesRepository,
): MarkPushNotificationFirstActivationDoneUseCase {
return MarkPushNotificationFirstActivationDoneUseCase(repository = repository)
}
}