Skip to content

Back button disabled in login page when adding first account. #789

Closed
@IchbinLuka

Description

@IchbinLuka

Jerboa Version
Commit b8e0dfb on the main branch.

Describe the bug
When first logging in the "back" button in the top left corner is disabled.

From the code it seems like this is intentional:

IconButton(
    enabled = !accounts.isNullOrEmpty(), // Removing this line would solve the problem
    onClick = {
        navController.popBackStack()
    },
)

Please correct me if I am mistaken, but I don't really see why it should be disabled since you can still use the android back button.

To Reproduce

  1. Ensure that no accounts are added to the app
  2. Click on the Hamburger Menu in the top left corner
  3. Add an account
  4. The button in the top left corner with an "arrow_back" icon will be disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    3 - medium priorityThis issue needs to be considered, but may not be a priority for the next releasebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions