Skip to content

image: Add RealmIconPlaceholder widget#2269

Open
chimnayajith wants to merge 1 commit into
zulip:mainfrom
chimnayajith:2267-realm-placeholder
Open

image: Add RealmIconPlaceholder widget#2269
chimnayajith wants to merge 1 commit into
zulip:mainfrom
chimnayajith:2267-realm-placeholder

Conversation

@chimnayajith
Copy link
Copy Markdown
Contributor

Summary

Add a RealmIconPlaceholder widget to provide a consistent fallback UI for realm icons when loading fails.

Context

Currently, realm icons loaded via Image.network may be hidden on error or lack a defined fallback. This PR introduces a simple placeholder (a neutral background) to ensure consistent layout and avoid silent failures.

Notes

Related:

Fixes: zulip#2267

Add a placeholder widget for displaying when realm icons
are missing or fail to load.
@chimnayajith chimnayajith force-pushed the 2267-realm-placeholder branch from 31cdaaa to 1f6e74a Compare April 8, 2026 15:30
@chimnayajith chimnayajith changed the title image: Add _RealmIconPlaceholder widget image: Add RealmIconPlaceholder widget Apr 8, 2026
@chrisbobbe
Copy link
Copy Markdown
Collaborator

Please post screenshots of your change.

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