Merge #184
184: Fixup lingering formatting issues r=msfjarvis a=msfjarvis bors r+ Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ class LobstersBottomNavTest : ScreenshotTest {
|
||||
DarkTestTheme {
|
||||
LobstersBottomNav(
|
||||
currentDestination = Destination.startDestination,
|
||||
navigateToDestination = { /*TODO*/},
|
||||
navigateToDestination = {},
|
||||
jumpToIndex = { _, _ -> },
|
||||
)
|
||||
}
|
||||
|
||||
@@ -5,8 +5,7 @@ import androidx.paging.PagingState
|
||||
import dev.msfjarvis.lobsters.data.repo.LobstersRepository
|
||||
import dev.msfjarvis.lobsters.model.LobstersPost
|
||||
|
||||
class HottestPostsPagingSource
|
||||
constructor(
|
||||
class HottestPostsPagingSource(
|
||||
private val lobstersRepository: LobstersRepository,
|
||||
) : PagingSource<Int, LobstersPost>() {
|
||||
|
||||
|
||||
@@ -5,8 +5,7 @@ import androidx.paging.PagingState
|
||||
import dev.msfjarvis.lobsters.data.repo.LobstersRepository
|
||||
import dev.msfjarvis.lobsters.model.LobstersPost
|
||||
|
||||
class NewestPostsPagingSource
|
||||
constructor(
|
||||
class NewestPostsPagingSource(
|
||||
private val lobstersRepository: LobstersRepository,
|
||||
) : PagingSource<Int, LobstersPost>() {
|
||||
|
||||
|
||||
@@ -9,8 +9,7 @@ import kotlinx.coroutines.flow.MutableStateFlow
|
||||
import kotlinx.coroutines.flow.asStateFlow
|
||||
import kotlinx.coroutines.withContext
|
||||
|
||||
class LobstersRepository
|
||||
constructor(
|
||||
class LobstersRepository(
|
||||
private val lobstersApi: LobstersApi,
|
||||
private val lobstersDatabase: LobstersDatabase,
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user