diff --git a/app/src/main/java/org/secuso/privacyfriendly2048/activities/helper/BaseActivity.kt b/app/src/main/java/org/secuso/privacyfriendly2048/activities/helper/BaseActivity.kt index 905228d..da0b516 100644 --- a/app/src/main/java/org/secuso/privacyfriendly2048/activities/helper/BaseActivity.kt +++ b/app/src/main/java/org/secuso/privacyfriendly2048/activities/helper/BaseActivity.kt @@ -39,11 +39,13 @@ abstract class BaseActivity : DrawerActivity() { super.setContent(layoutResID) } - override fun setContentView(view: View) { - super.setContent(view) + override fun setContentView(view: View?) { + super.setContent(view!!) } override fun drawer() = DrawerMenu.build { + name = getString(R.string.app_name_long) + icon = R.mipmap.ic_logo section { activity { name = ContextCompat.getString(this@BaseActivity, R.string.action_main)