fix:allow uppercase/lowercase change while renaming a deck#20348
Open
Fandroid745 wants to merge 1 commit intoankidroid:mainfrom
Open
fix:allow uppercase/lowercase change while renaming a deck#20348Fandroid745 wants to merge 1 commit intoankidroid:mainfrom
Fandroid745 wants to merge 1 commit intoankidroid:mainfrom
Conversation
lukstbit
approved these changes
Feb 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose / Description
The pr fixes the issue of deck already exists warning being displayed while renaming a deck from uppercase to lowercase or vice versa.(e.g:Backend to backend)
Fixes
Fixes a part of #18553
Approach
Updated the conditional in CreateDeckDialog.kt to use ignoreCase so that the checking becomes case-insenstive while renaming a deck to upper/lower.
How Has This Been Tested?
ran the app and verified that the deck already exists warning is not displayed while renaming decks.
Before:

After:

Learning (optional, can help others)
None
Links to blog posts, patterns, libraries or addons used to solve this problem
Checklist
Please, go through these checks before submitting the PR.