mirror of
https://github.com/Michatec/Radio.git
synced 2026-11-18 07:05:47 +01:00
- New Version Released
- Updated MainActivity.kt
This commit is contained in:
1 parent
27c405fd58
commit
fbafcb9773
2 files changed
+12
-2
No files matched your search
@@ -60,6 +60,16 @@ class MainActivity : AppCompatActivity() {
|
||||
}
|
||||
|
||||
|
||||
/* Overrides onResume from AppCompatActivity */
|
||||
override fun onResume() {
|
||||
try {
|
||||
super.onResume()
|
||||
} catch (_: ClassCastException) {
|
||||
// Do nothing
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Overrides onSupportNavigateUp from AppCompatActivity */
|
||||
override fun onSupportNavigateUp(): Boolean {
|
||||
// Taken from: https://developer.android.com/guide/navigation/navigation-ui#action_bar
|
||||
|
||||
Reference in new issue
Block a user