From fc1d704f6f24669d73919e3537ff8b3987ed3fd3 Mon Sep 17 00:00:00 2001 From: Koitharu Date: Wed, 1 Jan 2025 14:24:43 +0200 Subject: [PATCH] Fix build --- .../kotlin/org/koitharu/kotatsu/settings/SettingsActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/kotlin/org/koitharu/kotatsu/settings/SettingsActivity.kt b/app/src/main/kotlin/org/koitharu/kotatsu/settings/SettingsActivity.kt index aa6b9f8b6..3d687637e 100644 --- a/app/src/main/kotlin/org/koitharu/kotatsu/settings/SettingsActivity.kt +++ b/app/src/main/kotlin/org/koitharu/kotatsu/settings/SettingsActivity.kt @@ -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)