diff --git a/lib/screens/settings/widgets/release_notes.dart b/lib/screens/settings/widgets/release_notes.dart index 8b0b536..5c11474 100644 --- a/lib/screens/settings/widgets/release_notes.dart +++ b/lib/screens/settings/widgets/release_notes.dart @@ -34,32 +34,34 @@ class _ReleaseNotesState extends State { appBar: AppBar( title: const Text('Release notes'), ), - body: Column( - children: [ - Expanded( - child: Markdown( - data: releaseNotes, - styleSheet: MarkdownStyleSheet( - h2: const TextStyle(fontSize: 20), - h3: const TextStyle(fontSize: 16, fontWeight: FontWeight.w600), - h3Padding: const EdgeInsets.only(top: 16), - h4: const TextStyle(fontSize: 14), - h4Padding: const EdgeInsets.only(top: 16), - p: const TextStyle(fontSize: 14), + body: Markdown( + data: releaseNotes, + styleSheet: MarkdownStyleSheet( + h2: const TextStyle(fontSize: 20), + h3: const TextStyle(fontSize: 16, fontWeight: FontWeight.w600), + h3Padding: const EdgeInsets.only(top: 16), + h4: const TextStyle(fontSize: 14), + h4Padding: const EdgeInsets.only(top: 16), + p: const TextStyle(fontSize: 14), + horizontalRuleDecoration: const BoxDecoration( + border: Border( + top: BorderSide( + color: Colors.transparent, + width: 32, ), - onTapLink: (text, href, title) { - if (href != null) { - launchUrlString( - href, - mode: context.read().launchUrlExternal - ? LaunchMode.externalApplication - : LaunchMode.inAppBrowserView, - ); - } - }, ), ), - ], + ), + onTapLink: (text, href, title) { + if (href != null) { + launchUrlString( + href, + mode: context.read().launchUrlExternal + ? LaunchMode.externalApplication + : LaunchMode.inAppBrowserView, + ); + } + }, ), ); }