Fix exception due to extra dots in displayname

This commit is contained in:
Neeraj Gupta 2023-05-17 12:04:05 +05:30
parent eb7cc32d64
commit 7f2c323cb4
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -57,7 +57,7 @@ class _ZoomableImageState extends State<ZoomableImage>
@override
void initState() {
_photo = widget.photo;
_logger = Logger("ZoomableImage_" + _photo.displayName);
_logger = Logger("ZoomableImage_" + _photo.tag);
debugPrint('initState for ${_photo.toString()}');
_scaleStateChangedCallback = (value) {
if (widget.shouldDisableScroll != null) {