Skip to content

Fix type mismatch when applying news filter bottom sheet #217

Description

@Pankajbarad18

When the user taps Apply in the news filter bottom sheet, the bottom sheet is dismissed with Navigator.of(context).pop(0). Because showCustomBottomSheet returns Future<String?>, this returns an int instead of a String?, causing a runtime type error.

Steps to reproduce
- Launch the app.
- Tap the filter icon in the news app bar.
- Select a topic.
- Tap Apply.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions