Bimba.git

commit 8cca3b9e26437d53cbf22ae8aa9de26333ac76c4

Author: Adam <git@apiote.xyz>

reformatting

 app/src/main/java/xyz/apiote/bimba/czwek/dashboard/MainActivity.kt | 9 


diff --git a/app/src/main/java/xyz/apiote/bimba/czwek/dashboard/MainActivity.kt b/app/src/main/java/xyz/apiote/bimba/czwek/dashboard/MainActivity.kt
index d7435e1883b3960daa21fe8f5dbb1eaf3150e220..51cb36bc52d9201258e7e540598cd910b9f2caaa 100644
--- a/app/src/main/java/xyz/apiote/bimba/czwek/dashboard/MainActivity.kt
+++ b/app/src/main/java/xyz/apiote/bimba/czwek/dashboard/MainActivity.kt
@@ -58,11 +58,12 @@ 				}
 			}, true
 		)
 
-		val onBackPressedCallback = object : OnBackPressedCallback(binding.container.isDrawerOpen(binding.navigationDrawer)) {
-			override fun handleOnBackPressed() {
-				binding.container.closeDrawer(binding.navigationDrawer)
+		val onBackPressedCallback =
+			object : OnBackPressedCallback(binding.container.isDrawerOpen(binding.navigationDrawer)) {
+				override fun handleOnBackPressed() {
+					binding.container.closeDrawer(binding.navigationDrawer)
+				}
 			}
-		}
 		onBackPressedDispatcher.addCallback(onBackPressedCallback)
 
 		binding.container.addDrawerListener(object : DrawerListener {