forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
content: Show spinner for thumbnail placeholders
This is a port of zulip/zulip#30477. That PR isn't yet merged, but it's been deployed on chat.zulip.org and I believe the styling is unlikely to change. (If it does get tweaked, we can always update.) The placeholder `img` elements already come with a `src` pointing to this same `loader-black.svg` file, but on the Zulip server. So the effects of this change are: * The placeholder image is local instead of remote, which may improve the experience a bit on a slow connection. * In dark theme, we use an appropriately contrasting white spinner, instead of a black spinner that blends in with the background. Fixes: zulip#5875
- Loading branch information
Showing
5 changed files
with
106 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters