Commit 0f432615 authored by Viktor De Pasquale's avatar Viktor De Pasquale

Added titles

parent e0e27774
......@@ -10,4 +10,10 @@ class LogFragment : CompatFragment<LogViewModel, FragmentLogMd2Binding>() {
override val layoutRes = R.layout.fragment_log_md2
override val viewModel by viewModel<LogViewModel>()
override fun onStart() {
super.onStart()
activity.title = resources.getString(R.string.section_log)
}
}
\ No newline at end of file
......@@ -10,4 +10,10 @@ class ModuleFragment : CompatFragment<ModuleViewModel, FragmentModuleMd2Binding>
override val layoutRes = R.layout.fragment_module_md2
override val viewModel by viewModel<ModuleViewModel>()
override fun onStart() {
super.onStart()
activity.title = resources.getString(R.string.section_modules)
}
}
\ No newline at end of file
......@@ -10,4 +10,10 @@ class SuperuserFragment : CompatFragment<SuperuserViewModel, FragmentSuperuserMd
override val layoutRes = R.layout.fragment_superuser_md2
override val viewModel by viewModel<SuperuserViewModel>()
override fun onStart() {
super.onStart()
activity.title = resources.getString(R.string.section_superuser)
}
}
\ No newline at end of file
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