Fix build

This commit is contained in:
Koitharu
2025-01-01 14:24:43 +02:00
parent c2c3b0f757
commit fc1d704f6f

View File

@@ -25,7 +25,6 @@ import org.koitharu.kotatsu.core.model.MangaSource
import org.koitharu.kotatsu.core.model.MangaSourceInfo
import org.koitharu.kotatsu.core.parser.external.ExternalMangaSource
import org.koitharu.kotatsu.core.ui.BaseActivity
import org.koitharu.kotatsu.core.util.ext.buildBundle
import org.koitharu.kotatsu.core.util.ext.observe
import org.koitharu.kotatsu.core.util.ext.observeEvent
import org.koitharu.kotatsu.core.util.ext.textAndVisible
@@ -175,7 +174,7 @@ class SettingsActivity :
}
private fun navigateToPreference(item: SettingsItem) {
val args = buildBundle(1) {
val args = Bundle(1).apply {
putString(ARG_PREF_KEY, item.key)
}
openFragment(item.fragmentClass, args, true)