Eventually fix some rare crashes

This commit is contained in:
Jonas L 2019-02-11 10:25:49 +01:00
parent 163bb9a24a
commit d41fdc0962
3 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ class ManageCategoryFragment : Fragment(), FragmentWithCustomTitle {
R.id.manage_category_tab_blocked_time_areas -> 2
R.id.manage_category_tab_usage_log -> 3
R.id.manage_category_tab_settings -> 4
else -> throw IllegalStateException()
else -> 0
}
true

View file

@ -83,7 +83,7 @@ class ManageChildFragment : Fragment(), FragmentWithCustomTitle {
R.id.manage_child_tab_categories -> 0
R.id.manage_child_tab_apps -> 1
R.id.manage_child_tab_manage -> 2
else -> throw IllegalStateException()
else -> 0
}
true

View file

@ -112,7 +112,7 @@ class MainFragment : Fragment(), OverviewFragmentParentHandlers, AboutFragmentPa
R.id.main_tab_overview -> 0
R.id.main_tab_uninstall -> 1
R.id.main_tab_about -> 2
else -> throw IllegalStateException()
else -> 0
}
true