mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-23 06:08:52 +01:00
Fix formatting for Interactor classes
This commit is contained in:
@@ -4,7 +4,7 @@ import com.moez.QKSMS.data.repository.MessageRepository
|
|||||||
import io.reactivex.Flowable
|
import io.reactivex.Flowable
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
class MarkRead @Inject constructor(val messageRepo: MessageRepository): Interactor<Unit, Long>() {
|
class MarkRead @Inject constructor(val messageRepo: MessageRepository) : Interactor<Unit, Long>() {
|
||||||
|
|
||||||
override fun buildObservable(params: Long): Flowable<Unit> {
|
override fun buildObservable(params: Long): Flowable<Unit> {
|
||||||
return Flowable.just(Unit)
|
return Flowable.just(Unit)
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ import javax.inject.Inject
|
|||||||
class ReceiveMessage @Inject constructor(
|
class ReceiveMessage @Inject constructor(
|
||||||
val context: Context,
|
val context: Context,
|
||||||
val messageRepo: MessageRepository,
|
val messageRepo: MessageRepository,
|
||||||
val notificationManager: NotificationManager) : Interactor<Unit, ReceiveMessage.Params>() {
|
val notificationManager: NotificationManager)
|
||||||
|
: Interactor<Unit, ReceiveMessage.Params>() {
|
||||||
|
|
||||||
data class Params(val address: String, val body: String, val sentTime: Long)
|
data class Params(val address: String, val body: String, val sentTime: Long)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user