Skip to content

Fix -1 passed as index #2310

Open
Open
@EmmanuelMess

Description

Fix index = -1 here:

if (itemsDigested.size() <= position || position < 0) {
AppConfig.toast(context, R.string.operation_not_supported);
return;
}

Related #2303

Metadata

Assignees

No one assigned

    Labels

    Area-CodeHealthIssues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc.Issue-BugRelated unexpected behavior or something worth investigating.Issue-Easy (good first issue)Beginners welcome! Issues with relative low difficulty.Issue-Task (low)This isn't a bug, but should be dealt with.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions