Fix build

master
Koitharu 1 year ago
parent c2c3b0f757
commit fc1d704f6f
Signed by: Koitharu
GPG Key ID: 676DEE768C17A9D7

@ -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)

Loading…
Cancel
Save