fluffychat icon indicating copy to clipboard operation
fluffychat copied to clipboard

[BUG]: Error Widget when opening webp

Open gaykitty opened this issue 10 months ago • 1 comments

  • Operating system: android
  • Version: 1.18.0

Happened when opening a chat with an image that wouldn't load. Inage was a webp.

Exception

Unsupported operation: Infinity or NaN toInt

StackTrace

#0 ImageBubble._buildPlaceholder (package:fluffychat/pages/chat/events/image_bubble.dart) #1 _MxcImageState.placeholder (package:fluffychat/widgets/mxc_image.dart:151) #2 _MxcImageState.build (package:fluffychat/widgets/mxc_image.dart:164) #3 StatefulElement.build (package:flutter/src/widgets/framework.dart:5592) #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5480) #5 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5643) #6 Element.rebuild (package:flutter/src/widgets/framework.dart:5196) #7 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5462) #8 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5634) #9 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5456)

gaykitty avatar Apr 03 '24 23:04 gaykitty