mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38: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 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> {
|
||||
return Flowable.just(Unit)
|
||||
|
||||
@@ -11,7 +11,8 @@ import javax.inject.Inject
|
||||
class ReceiveMessage @Inject constructor(
|
||||
val context: Context,
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user