Skip to content

SQLException during add scobbler #2876

@officiallor

Description

@officiallor

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

When adding a scrobbler the menu should refresh and not allow you pressing the button again to add a new account while a unique account is allowed.

Expected Behavior

The menu doesn't refresh and you can try adding a new account, eventually throwing an SQL Exception for trying to add a new account.

Steps to reproduce

  1. Add scrobbler successfully
  2. Notice that menu doesn't refresh
  3. Retry adding the same account
  4. Profit

I don't know if trying to login with different account would allow double entry in the db and what is the expected behavior.

Logs

Exception not logged

Operating System

Android

Spotube version

5.1.0

Installation source

F-Droid (Android)

Additional information

No response

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions