Skip to content

Add a NotAvailableOnDesktop placeholder to the design system - #3366

Closed
StylianosGakis wants to merge 1 commit into
developfrom
feat/not-available-on-desktop
Closed

StylianosGakis wants to merge 1 commit into
developfrom
feat/not-available-on-desktop

Conversation

@StylianosGakis

Copy link
Copy Markdown
Member
🤖 AI description

Adds NotAvailableOnDesktop() to the design system, in the JVM source set only, so Android and iOS never see it. It is the one placeholder the desktop build of the app will show wherever a feature is deliberately not supported there (first users: web views, which stay Android-only).

Comes with a headless Compose UI test on the JVM target, the first in this module.

A single composable showing "Not available on desktop" centred, for
features the desktop app does not support. It lives in jvmMain only, so
Android and iOS cannot see it. A jvmTest renders it and checks the text.
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.

1 participant