feat: Implement linux desktop notifications

This commit is contained in:
Christian Pauly 2020-10-17 09:29:27 +02:00
commit 6f29f1d6fa
9 changed files with 106 additions and 95 deletions

View file

@ -417,19 +417,12 @@ class _EmoteImage extends StatelessWidget {
height: size * devicePixelRatio,
method: ThumbnailMethod.scale,
);
return PlatformInfos.isBetaDesktop
? Image.network(
url,
fit: BoxFit.contain,
width: size,
height: size,
)
: CachedNetworkImage(
imageUrl: url,
fit: BoxFit.contain,
width: size,
height: size,
);
return CachedNetworkImage(
imageUrl: url,
fit: BoxFit.contain,
width: size,
height: size,
);
}
}