fix: Missing bottom padding in text only stories

krille/use-hive-collections
Christian Pauly 3 years ago
parent cb2f76329d
commit 8802613a1f

@ -236,7 +236,10 @@ class StoryView extends StatelessWidget {
onHorizontalDragEnd: controller.unhold, onHorizontalDragEnd: controller.unhold,
child: AnimatedContainer( child: AnimatedContainer(
duration: const Duration(milliseconds: 200), duration: const Duration(milliseconds: 200),
padding: const EdgeInsets.all(16.0), padding: const EdgeInsets.symmetric(
horizontal: 16.0,
vertical: 80,
),
decoration: BoxDecoration( decoration: BoxDecoration(
gradient: event.messageType == MessageTypes.Text gradient: event.messageType == MessageTypes.Text
? LinearGradient( ? LinearGradient(

@ -932,7 +932,7 @@ packages:
description: description:
path: "." path: "."
ref: null-safety ref: null-safety
resolved-ref: "5aa8786475bca1b90ff35409eff3e0f5a4768601" resolved-ref: "2906e65ffaa96afbe6c72e8477d4dfcdfd06c2c3"
url: "https://github.com/TheOneWithTheBraid/keyboard_shortcuts.git" url: "https://github.com/TheOneWithTheBraid/keyboard_shortcuts.git"
source: git source: git
version: "0.1.4" version: "0.1.4"

Loading…
Cancel
Save