Skip to content

Commit

Permalink
ktlintformat
Browse files Browse the repository at this point in the history
  • Loading branch information
nikclayton committed Feb 1, 2025
1 parent 61d9a92 commit bbb949c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ class TimelineFragment :
}
}


private fun bindUiResult(uiResult: Result<UiSuccess, UiError>) {
// Show errors from the view model as snack bars.
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ class CachedTimelineRemoteMediator(
when (loadType) {
LoadType.REFRESH -> {
timelineDao.deleteAllStatusesForAccountOnTimeline(
pachliAccountId, TimelineStatusEntity.Kind.Home)
pachliAccountId,
TimelineStatusEntity.Kind.Home,
)

remoteKeyDao.upsert(
RemoteKeyEntity(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ data class TimelineStatusEntity(
@JsonClass(generateAdapter = true, generator = "sealed:type")
sealed interface Kind {
@TypeLabel("home")
data object Home: Kind
data object Home : Kind

@TypeLabel("local")
data object Local: Kind
data object Local : Kind

@TypeLabel("federated")
data object Federated: Kind
data object Federated : Kind

// data class RemoteLocal(val serverDomain: String): K ?

Expand Down

0 comments on commit bbb949c

Please sign in to comment.