Merge branch 'krille/implement-linux-desktop-notifications' into 'main'
feat: Implement linux desktop notifications See merge request ChristianPauly/fluffychat-flutter!226
This commit is contained in:
commit
ccb140bb95
9 changed files with 106 additions and 95 deletions
|
|
@ -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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue