Skip to content

fix(share): icons#16418

Open
alperozturk96 wants to merge 5 commits intomasterfrom
fix/share-icons
Open

fix(share): icons#16418
alperozturk96 wants to merge 5 commits intomasterfrom
fix/share-icons

Conversation

@alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Jan 30, 2026

  • Tests written, or not not needed

Fixes

Share internal link alignment
Dropdown icon visibility (only visible if permission name exists)
Converts image views to material icon button since they are button not icon

Before Internal Dark After Internal Dark
before after
Before Internal Light After Internal Light
before after
Before External Light After External Light
before after
Before External Dark After External Dark
before after

@AndyScherzinger
Copy link
Member

@alperozturk96 What is the webUI displaying? Is it also hiding the element or are we missing something on the client-side?

@AndyScherzinger
Copy link
Member

@alperozturk96 the icon colors changed, but didn't yet check what M3 would define for icon-only buttons

@alperozturk96
Copy link
Collaborator Author

/backport to stable-3.36

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@alperozturk96
Copy link
Collaborator Author

alperozturk96 commented Feb 4, 2026

Before

Screenshot 2026-02-04 at 15 32 05 Screenshot 2026-02-04 at 15 32 18 Screenshot 2026-02-04 at 15 32 28 Screenshot 2026-02-04 at 15 32 32

After

Screenshot 2026-02-04 at 15 27 46 Screenshot 2026-02-04 at 15 27 49 Screenshot 2026-02-04 at 15 28 20 Screenshot 2026-02-04 at 15 28 24

@alperozturk96
Copy link
Collaborator Author

@alperozturk96 the icon colors changed, but didn't yet check what M3 would define for icon-only buttons

Maybe this app:iconTint="?attr/colorOnSurfaceVariant" ?

Screenshot 2026-02-04 at 15 39 28 Screenshot 2026-02-04 at 15 39 32

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16418.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@AndyScherzinger
Copy link
Member

AndyScherzinger commented Feb 4, 2026

If you want a declarative way, current you'd need to set up the Grey color we defined, afaik #666666

The material color is dynamic, so you'd need to call a theming util function for that.

Switching to colorOnSurfaceVariant would force you to change that everywhere in the UI so I wouldn't not do it in this PR but just make the changed one Grey again.

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.

Share icons circle backgrounds are cut off, or inside icons are too large

2 participants