mirror of
https://codeberg.org/timelimit/opentimelimit-android.git
synced 2025-10-05 10:49:29 +02:00
Eventually fix some rare crashes
This commit is contained in:
parent
163bb9a24a
commit
d41fdc0962
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue