Skip to content

Commit

Permalink
feat: 不要な引数を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
pantasystem committed May 17, 2024
1 parent ea190f7 commit 47efff2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import net.pantasystem.milktea.model.account.Account
import net.pantasystem.milktea.model.account.page.Pageable
import net.pantasystem.milktea.model.account.page.SincePaginate
import net.pantasystem.milktea.model.account.page.UntilPaginate
import net.pantasystem.milktea.model.instance.InstanceInfoType
import net.pantasystem.milktea.model.note.Note
import net.pantasystem.milktea.model.note.timeline.TimelineRepository
import net.pantasystem.milktea.model.note.timeline.TimelineType
Expand All @@ -27,9 +26,7 @@ import retrofit2.Response

internal class TimelinePagingStoreImpl(
private val pageableTimeline: Pageable,
private val noteAdder: NoteDataSourceAdder,
private val getAccount: suspend () -> Account,
private val getCurrentInstanceInfo: suspend (String) -> InstanceInfoType?,
private val getInitialLoadQuery: () -> InitialLoadQuery?,
private val misskeyAPIProvider: MisskeyAPIProvider,
private val timelineRepository: TimelineRepository,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,7 @@ class TimelineStoreImpl(
}
else -> TimelinePagingStoreImpl(
pageableTimeline = pageableTimeline,
noteAdder = noteAdder,
getAccount = getAccount,
getCurrentInstanceInfo = {
instanceInfoService.find(it).getOrNull()
},
getInitialLoadQuery = {
initialLoadQuery
},
Expand Down

0 comments on commit 47efff2

Please sign in to comment.