diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/login/LoginChooserFragment.kt b/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/login/LoginChooserFragment.kt
index 4b88b4e6..8dee827e 100644
--- a/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/login/LoginChooserFragment.kt
+++ b/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/login/LoginChooserFragment.kt
@@ -202,12 +202,6 @@ class LoginChooserFragment : Fragment(), CoroutineScope {
return
}
- if (loginType.loginType == LOGIN_TYPE_LIBRUS) {
- FirebaseAnalytics.getInstance(activity).logEvent("librus_hacked", Bundle())
- nav.navigate(R.id.loginLibrusFragment, null, activity.navOptions)
- return
- }
-
launch {
if (!checkAvailability(loginType.loginType))
return@launch
diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/login/LoginLibrusFragment.kt b/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/login/LoginLibrusFragment.kt
deleted file mode 100644
index 46b345e6..00000000
--- a/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/login/LoginLibrusFragment.kt
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) Kacper Ziubryniewicz 2021-3-1
- */
-
-package pl.szczodrzynski.edziennik.ui.modules.login
-
-import android.net.Uri
-import android.os.Bundle
-import android.view.LayoutInflater
-import android.view.View
-import android.view.ViewGroup
-import androidx.fragment.app.Fragment
-import kotlinx.coroutines.CoroutineScope
-import kotlinx.coroutines.Dispatchers
-import kotlinx.coroutines.Job
-import pl.szczodrzynski.edziennik.App
-import pl.szczodrzynski.edziennik.databinding.LoginLibrusFragmentBinding
-import kotlin.coroutines.CoroutineContext
-
-class LoginLibrusFragment : Fragment(), CoroutineScope {
- companion object {
- private const val TAG = "LoginLibrusFragment"
- }
-
- private lateinit var app: App
- private lateinit var activity: LoginActivity
- private lateinit var b: LoginLibrusFragmentBinding
-
- private val job: Job = Job()
- override val coroutineContext: CoroutineContext
- get() = job + Dispatchers.Main
-
- override fun onCreateView(
- inflater: LayoutInflater,
- container: ViewGroup?,
- savedInstanceState: Bundle?
- ): View? {
- activity = (getActivity() as LoginActivity?) ?: return null
- context ?: return null
- app = activity.application as App
- b = LoginLibrusFragmentBinding.inflate(inflater)
- return b.root
- }
-
- override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
- b.librus2021HackWorking100PercentLegit.apply {
- setVideoURI(Uri.parse("https://szkolny.eu/librus.mp4"))
- setMediaController(null)
- requestFocus()
- start()
- }
- }
-}
diff --git a/app/src/main/res/layout/login_librus_fragment.xml b/app/src/main/res/layout/login_librus_fragment.xml
deleted file mode 100644
index ee07781c..00000000
--- a/app/src/main/res/layout/login_librus_fragment.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/app/src/main/res/navigation/nav_login.xml b/app/src/main/res/navigation/nav_login.xml
index 569fffa8..6fb5e503 100644
--- a/app/src/main/res/navigation/nav_login.xml
+++ b/app/src/main/res/navigation/nav_login.xml
@@ -22,9 +22,6 @@
-
-
-
-
-