Commit 5e944330 authored by Waweic's avatar Waweic 💬
Browse files

Enable hardware-back-button

parent 0d8d9f2a
Pipeline #289882 failed with stages
in 22 seconds
......@@ -48,4 +48,8 @@ class MainActivity : AppCompatActivity() {
super.onNewIntent(intent)
intent?.data.toString().let{geminiClient.goToPage(it)}
}
override fun onBackPressed() {
geminiClient.goBack()
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment