Skip to content

Crash when the note used in SingleNoteWidget is deleted #293

Description

@korelstar

Steps to reproduce:

  1. Create a note
  2. Add a SingleNoteWidget to the launcher and chose the above created note
  3. Start the app
  4. Delete the above created note
  5. Synchronize with the server

Result:
The app crashes with a NullPointerException, Android starts the app again, the app crashes again, ...

Solution:
The widget should check if the note is still there, and then
a) Show a hint instead of the content, or
b) Remove the widget (if this is possible)

/cc @dan0xii

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions