Skip to content

Commit

Permalink
chore: Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
khaled-0 committed Jan 18, 2025
1 parent cbc2702 commit 7bc7c4a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,6 @@ private fun LazyListScope.sharedEpisodeItems(
MissingItemCountListItem(count = episodeItem.count)
}
is EpisodeList.Item -> {

var fileSizeAsync: Long? by remember { mutableStateOf(episodeItem.fileSize) }
if (episodeItem.downloadState == AnimeDownload.State.DOWNLOADED &&
preferences.showEpisodeFileSize().get() && fileSizeAsync == null
Expand All @@ -918,7 +917,6 @@ private fun LazyListScope.sharedEpisodeItems(
}
}


AnimeEpisodeListItem(
title = if (anime.displayMode == Anime.EPISODE_DISPLAY_NUMBER) {
stringResource(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ fun AnimeEpisodeListItem(
onLongClick = onLongClick,
)
.padding(start = 16.dp, top = 12.dp, end = 8.dp, bottom = 12.dp),
verticalAlignment = Alignment.CenterVertically
verticalAlignment = Alignment.CenterVertically,
) {
Column(
modifier = Modifier.weight(1f),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package eu.kanade.presentation.entries.anime.components

import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.size
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.CheckCircle
Expand All @@ -25,7 +24,6 @@ import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.platform.LocalHapticFeedback
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import eu.kanade.presentation.components.ArrowModifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ import tachiyomi.presentation.core.util.selectedBackground
import uy.kohesive.injekt.injectLazy
import java.util.concurrent.TimeUnit


private val preferences: DownloadPreferences by injectLazy()
private val animeDownloadProvider: AnimeDownloadProvider by injectLazy()
private val animeSourceManager: AnimeSourceManager by injectLazy()
Expand Down

0 comments on commit 7bc7c4a

Please sign in to comment.