diff --git a/app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt b/app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt index d21f0d7621..e3660cf654 100644 --- a/app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt +++ b/app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt @@ -291,7 +291,7 @@ class KiwixReaderFragment : CoreReaderFragment() { intent: Intent, activity: AppCompatActivity ): Super { - super.onNewIntent(activity.intent, activity) + super.onNewIntent(intent, activity) intent.data?.let { when (it.scheme) { "file" -> openZimFile(ZimFile(it.toFile()))