mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Fix image spinner
This commit is contained in:
@@ -332,9 +332,12 @@ export function getSpinner({
|
||||
i18n: LocalizerType;
|
||||
tabIndex: number | undefined;
|
||||
}): JSX.Element | undefined {
|
||||
if (!attachment.pending) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const spinnerValue =
|
||||
(attachment.pending &&
|
||||
!isIncremental(attachment) &&
|
||||
(!isIncremental(attachment) &&
|
||||
attachment.size &&
|
||||
attachment.totalDownloaded) ||
|
||||
undefined;
|
||||
|
||||
Reference in New Issue
Block a user