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
39067d0f53
commit
eababad337
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class MainFragment : Fragment(), OverviewFragmentParentHandlers, AboutFragmentPa
|
||||||
val user = logic.deviceUserEntry.waitForNullableValue()
|
val user = logic.deviceUserEntry.waitForNullableValue()
|
||||||
|
|
||||||
if (user?.type == UserType.Child) {
|
if (user?.type == UserType.Child) {
|
||||||
if (!fragmentManager!!.isStateSaved) {
|
if (fragmentManager?.isStateSaved == false) {
|
||||||
openManageChildScreen(user.id)
|
openManageChildScreen(user.id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue