Skip to content

Crash when changing sorting on Android #64

@opatry

Description

@opatry

Describe the bug
Crash when sorting list which contains tasks with no due date.

To Reproduce
Steps to reproduce the behavior:

  1. Have a list with few tasks, including some without due date
  2. Sort by due date

Expected behavior
Sorting properly applied and not crash.

Screenshots
If applicable, add screenshots to help explain your problem.

Fatal Exception: java.lang.IllegalArgumentException: Type of the key None is not supported. On Android you can only use types which can be stored inside the Bundle.
       at androidx.compose.runtime.saveable.SaveableStateHolderImpl.SaveableStateProvider(SaveableStateHolder.kt:79)
       at androidx.compose.foundation.lazy.layout.LazySaveableStateHolder.SaveableStateProvider(LazySaveableStateHolder.kt:85)

Metadata

Metadata

Assignees

No one assigned

    Labels

    android app🤖 Related to the Android applicationbug🪳 Something isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions