Fix indentation for constructor params

This commit is contained in:
moezbhatti
2018-12-25 18:13:17 -05:00
parent a1dfba2e4b
commit 728af5168c
96 changed files with 482 additions and 476 deletions
@@ -48,9 +48,9 @@ import javax.inject.Inject
import javax.inject.Named
class GalleryPagerAdapter @Inject constructor(
context: Context,
@Named("partId") private val partId: Long,
private val dateFormatter: DateFormatter
context: Context,
@Named("partId") private val partId: Long,
private val dateFormatter: DateFormatter
) : PagerAdapter() {
var parts: RealmResults<MmsPart>? = null
@@ -22,6 +22,7 @@ import com.moez.QKSMS.model.MmsPart
import io.realm.RealmResults
data class GalleryState(
val navigationVisible: Boolean = true,
val title: String? = "",
val parts: RealmResults<MmsPart>? = null)
val navigationVisible: Boolean = true,
val title: String? = "",
val parts: RealmResults<MmsPart>? = null
)
@@ -35,11 +35,11 @@ import javax.inject.Inject
import javax.inject.Named
class GalleryViewModel @Inject constructor(
conversationRepo: ConversationRepository,
messageRepo: MessageRepository,
@Named("partId") private val partId: Long,
private val context: Context,
private val saveImage: SaveImage
conversationRepo: ConversationRepository,
messageRepo: MessageRepository,
@Named("partId") private val partId: Long,
private val context: Context,
private val saveImage: SaveImage
) : QkViewModel<GalleryView, GalleryState>(GalleryState()) {
init {