Skip to content

Error in method, when device set 24h GridTimePickerDialog.updateAmPmDisplay #38

Open
@byhtada

Description

@byhtada

Hello! Thanks for the library, but some minor problems

When the 12-hour format everything works, when setting the 24 hour clock, you receive this error in the console
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setTint(int)' on a null object reference at com.philliphsu.bottomsheetpickers.time.grid.GridTimePickerDialog.updateAmPmDisplay(GridTimePickerDialog.java:431) at com.philliphsu.bottomsheetpickers.time.grid.GridTimePickerDialog.onCreateView(GridTimePickerDialog.java:403)

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