mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-23 00:17:34 +00:00
Fix website flavor TokenFetcher
This commit is contained in:
parent
550955f530
commit
ae9d3810e1
@ -1,12 +1,9 @@
|
|||||||
package org.thoughtcrime.securesms.notifications
|
package org.thoughtcrime.securesms.notifications
|
||||||
|
|
||||||
import kotlinx.coroutines.Job
|
|
||||||
import kotlinx.coroutines.MainScope
|
|
||||||
import kotlinx.coroutines.launch
|
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
import javax.inject.Singleton
|
import javax.inject.Singleton
|
||||||
|
|
||||||
@Singleton
|
@Singleton
|
||||||
class NoOpTokenFetcher @Inject constructor() : TokenFetcher {
|
class NoOpTokenFetcher @Inject constructor() : TokenFetcher {
|
||||||
override fun fetch(): Job = MainScope().launch { }
|
override suspend fun fetch(): String? = null
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user