Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@

<service
android:name=".ReedFirebaseMessagingService"
android:exported="false">
android:exported="false"
tools:ignore="Instantiatable">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import com.google.devtools.ksp.gradle.KspExtension
import com.ninecraft.booket.convention.api
import com.ninecraft.booket.convention.applyPlugins
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import com.ninecraft.booket.convention.Plugins
import com.ninecraft.booket.convention.applyPlugins
import com.ninecraft.booket.convention.implementation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import kotlinx.coroutines.flow.map
@SingleIn(DataScope::class)
@Inject
class DefaultLoginMethodDataSource(
@LoginMethodDataStore private val dataStore: DataStore<Preferences>,
@param:LoginMethodDataStore private val dataStore: DataStore<Preferences>,
Comment thread
coderabbitai[bot] marked this conversation as resolved.
) : LoginMethodDataSource {
override val recentLoginMethod: Flow<LoginMethod> = dataStore.data
.handleIOException()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import com.ninecraft.booket.core.datastore.api.datasource.TokenDataSource
import com.ninecraft.booket.core.datastore.impl.di.TokenDataStore
import com.ninecraft.booket.core.datastore.impl.security.CryptoManager
import com.ninecraft.booket.core.datastore.impl.util.handleIOException
import com.ninecraft.booket.core.di.DataScope
import com.orhanobut.logger.Logger
import dev.zacsweers.metro.Inject
import com.ninecraft.booket.core.di.DataScope
import dev.zacsweers.metro.SingleIn
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.first
Expand All @@ -20,7 +20,7 @@ import java.security.GeneralSecurityException
@SingleIn(DataScope::class)
@Inject
class DefaultTokenDataSource(
@TokenDataStore private val dataStore: DataStore<Preferences>,
@param:TokenDataStore private val dataStore: DataStore<Preferences>,
private val cryptoManager: CryptoManager,
) : TokenDataSource {
override val accessToken: Flow<String> = decryptStringFlow(ACCESS_TOKEN)
Expand Down
Loading