Skip to content

Commit

Permalink
fix(MangaScreen): import correct pref screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Samfun75 committed Sep 25, 2023
1 parent f06c46e commit d68c0a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.data.download.manga.model.MangaDownload
import eu.kanade.tachiyomi.source.ConfigurableSource
import eu.kanade.tachiyomi.source.manga.getNameForMangaInfo
import eu.kanade.tachiyomi.ui.browse.anime.extension.details.SourcePreferencesScreen
import eu.kanade.tachiyomi.ui.browse.manga.extension.details.MangaSourcePreferencesScreen
import eu.kanade.tachiyomi.ui.entries.manga.ChapterItem
import eu.kanade.tachiyomi.ui.entries.manga.MangaScreenState
import eu.kanade.tachiyomi.ui.entries.manga.chapterDecimalFormat
Expand Down Expand Up @@ -143,7 +143,7 @@ fun MangaScreen(

val navigator = LocalNavigator.currentOrThrow
val onSettingsClicked: (() -> Unit)? = {
navigator.push(SourcePreferencesScreen(state.source.id))
navigator.push(MangaSourcePreferencesScreen(state.source.id))
}.takeIf { state.source is ConfigurableSource }

if (!isTabletUi) {
Expand Down

0 comments on commit d68c0a8

Please sign in to comment.