trunk #2

Merged
Guido merged 229 commits from cwtch.im/cwtch-ui:trunk into trunk 2023-04-16 14:29:14 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit d75420e72f - Show all commits

View File

@ -51,8 +51,9 @@ class FileBubbleState extends State<FileBubble> {
Widget getPreview(context) {
return Image.file(
myFile!,
cacheWidth: (MediaQuery.of(context).size.width * 0.6).floor(),
// limit the amount of space the image can decode too, we keep this high-ish to allow quality previews...
cacheWidth: 1024,
cacheHeight: 1024,
filterQuality: FilterQuality.medium,
fit: BoxFit.scaleDown,
alignment: Alignment.center,