Compare commits
No commits in common. "d8dd4060c0341669db8261e77e7f174113d29a73" and "f4621dd2b448157dd889e7af1b8591ae58f7f525" have entirely different histories.
d8dd4060c0
...
f4621dd2b4
@ -92,7 +92,7 @@ class _PostActionState extends State<PostAction> {
|
|||||||
final List<String> attachments = widget.item.body['attachments'] is List
|
final List<String> attachments = widget.item.body['attachments'] is List
|
||||||
? List.from(widget.item.body['attachments']?.whereType<String>())
|
? List.from(widget.item.body['attachments']?.whereType<String>())
|
||||||
: List.empty();
|
: List.empty();
|
||||||
final hasMultipleAttachment = attachments.length > 1;
|
final hasAttachment = attachments.isNotEmpty;
|
||||||
|
|
||||||
final screenshot = ScreenshotController();
|
final screenshot = ScreenshotController();
|
||||||
final image = await screenshot.captureFromLongWidget(
|
final image = await screenshot.captureFromLongWidget(
|
||||||
@ -104,7 +104,7 @@ class _PostActionState extends State<PostAction> {
|
|||||||
pixelRatio: 2,
|
pixelRatio: 2,
|
||||||
constraints: BoxConstraints(
|
constraints: BoxConstraints(
|
||||||
minWidth: 480,
|
minWidth: 480,
|
||||||
maxWidth: hasMultipleAttachment ? 480 : 640,
|
maxWidth: hasAttachment ? 480 : 640,
|
||||||
minHeight: 640,
|
minHeight: 640,
|
||||||
maxHeight: double.infinity,
|
maxHeight: double.infinity,
|
||||||
),
|
),
|
||||||
|
@ -2,7 +2,7 @@ name: solian
|
|||||||
description: "The Solar Network App"
|
description: "The Solar Network App"
|
||||||
publish_to: "none"
|
publish_to: "none"
|
||||||
|
|
||||||
version: 1.3.7+12
|
version: 1.3.7+11
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.3.4 <4.0.0"
|
sdk: ">=3.3.4 <4.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user