From 715f536b231de2c61c6c4dc9e26407d89a4a8700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Tue, 10 Mar 2020 20:57:04 +0100 Subject: [PATCH] [MainActivity] Fix some critical errors. --- app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt b/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt index ac2d8fc4..ce850b9a 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt @@ -12,7 +12,6 @@ import android.os.Build import android.os.Bundle import android.os.Environment import android.provider.Settings -import android.util.Log import android.view.Gravity import android.view.View import android.widget.Toast @@ -42,7 +41,6 @@ import pl.droidsonroids.gif.GifDrawable import pl.szczodrzynski.edziennik.data.api.edziennik.EdziennikTask import pl.szczodrzynski.edziennik.data.api.events.* import pl.szczodrzynski.edziennik.data.api.models.ApiError -import pl.szczodrzynski.edziennik.data.api.szkolny.interceptor.Signing import pl.szczodrzynski.edziennik.data.db.entity.LoginStore import pl.szczodrzynski.edziennik.data.db.entity.Metadata.* import pl.szczodrzynski.edziennik.databinding.ActivitySzkolnyBinding @@ -286,8 +284,6 @@ class MainActivity : AppCompatActivity(), CoroutineScope { setContentView(b.root) - Log.d(TAG, Signing.appPassword) - mainSnackbar.setCoordinator(b.navView.coordinator, b.navView.bottomBar) errorSnackbar.setCoordinator(b.navView.coordinator, b.navView.bottomBar) @@ -906,7 +902,6 @@ class MainActivity : AppCompatActivity(), CoroutineScope { bottomSheet.close() bottomSheet.removeAllContextual() bottomSheet.toggleGroupEnabled = false - bottomSheet.onCloseListener = null drawer.close() drawer.setSelection(target.id, fireOnClick = false) navView.toolbar.setTitle(target.title ?: target.name)