From 084213eca789152e92f89bc053f06654daa13d26 Mon Sep 17 00:00:00 2001 From: SimonIT Date: Sat, 15 Aug 2020 15:30:58 +0200 Subject: [PATCH] Fix package names not centered --- lib/main.dart | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index daaf3ad..a0cffab 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -779,7 +779,8 @@ class _TimeTrackerState extends State { } catch (e) { sentry.captureException( exception: e, - stackTrace: e is Error ? e.stackTrace : null, + stackTrace: + e is Error ? e.stackTrace : null, ); showCupertinoDialog( context: context, @@ -1533,12 +1534,12 @@ class LicensePage extends StatelessWidget { padding: const EdgeInsets.only(bottom: 10), child: Column( children: [ - Center( - child: Text( - s.data[index].packages.join(", "), - style: - const TextStyle(fontWeight: FontWeight.bold), + Text( + s.data[index].packages.join(", "), + style: const TextStyle( + fontWeight: FontWeight.bold, ), + textAlign: TextAlign.center, ), Column( children: paragraphs