Skip to content

Cleanup: Fix getter warning in Toolbar#20342

Merged
lukstbit merged 1 commit intoankidroid:mainfrom
HS0204:cleanup/fix-warnings
Feb 20, 2026
Merged

Cleanup: Fix getter warning in Toolbar#20342
lukstbit merged 1 commit intoankidroid:mainfrom
HS0204:cleanup/fix-warnings

Conversation

@HS0204
Copy link
Contributor

@HS0204 HS0204 commented Feb 20, 2026

Purpose / Description

This change follows Kotlin style recommendations. The goal is to reduce warnings shown in Android Studio.

Fixes

Approach

  • Used Kotlin property access syntax instead of Java-style getter methods.
  • Followed Kotlin idiomatic style where data access looks like a property.

How Has This Been Tested?

I ran the app on an emulator and confirmed that the toolbar is displayed correctly.

Learning (optional, can help others)

N/A

Checklist

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

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 Feb 20, 2026
@lukstbit lukstbit added this pull request to the merge queue Feb 20, 2026
Merged via the queue into ankidroid:main with commit 90df467 Feb 20, 2026
19 checks passed
@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 Feb 20, 2026
@github-actions github-actions bot added this to the 2.24 release milestone Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments