Skip to content

Remove redundant constructs in Kotlin files#20474

Merged
lukstbit merged 1 commit intoankidroid:mainfrom
Hammadtanveer:cleanup/fix-as-warnings
Mar 15, 2026
Merged

Remove redundant constructs in Kotlin files#20474
lukstbit merged 1 commit intoankidroid:mainfrom
Hammadtanveer:cleanup/fix-as-warnings

Conversation

@Hammadtanveer
Copy link
Contributor

Purpose / Description

Removed some redundant constructs found during Android Studio code inspection.

Fixes

No linked issue — code cleanup only

Approach

Removed redundant return keywords in DisplayDeckNode.kt and InitialActivity.kt and removed redundant qualifier name in SavedBrowserSearchesDialogFragment.kt

How Has This Been Tested?

Built the project locally and inspection warnings are gone.

Checklist

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have performed a self-review of your own code

Copy link
Member

@lukstbit lukstbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@lukstbit lukstbit added Pending Merge Things with approval that are waiting future merge (e.g. targets a future release, CI wait, etc) and removed Needs Review labels Mar 15, 2026
@lukstbit lukstbit added this pull request to the merge queue Mar 15, 2026
Merged via the queue into ankidroid:main with commit 3fcb872 Mar 15, 2026
19 checks passed
@github-actions github-actions bot added this to the 2.24 release milestone Mar 15, 2026
@github-actions github-actions bot removed the Pending Merge Things with approval that are waiting future merge (e.g. targets a future release, CI wait, etc) label Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants