From 04793b58ca01c272e142ef1858a1a13668fa3927 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 23 Jan 2022 16:27:08 +0100 Subject: [PATCH] Add missing colons to headers --- lib/components/history/kanji_box.dart | 15 +++++++-------- .../search_results_body/parts/other_forms.dart | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/lib/components/history/kanji_box.dart b/lib/components/history/kanji_box.dart index 037465f..18aade8 100644 --- a/lib/components/history/kanji_box.dart +++ b/lib/components/history/kanji_box.dart @@ -20,18 +20,17 @@ class KanjiBox extends StatelessWidget { aspectRatio: 1, child: Container( padding: const EdgeInsets.all(5), + alignment: Alignment.center, decoration: BoxDecoration( color: menuColors.background, borderRadius: BorderRadius.circular(10.0), ), - child: Center( - child: FittedBox( - child: Text( - kanji, - style: TextStyle( - color: menuColors.foreground, - fontSize: 25, - ), + child: FittedBox( + child: Text( + kanji, + style: TextStyle( + color: menuColors.foreground, + fontSize: 25, ), ), ), diff --git a/lib/components/search/search_results_body/parts/other_forms.dart b/lib/components/search/search_results_body/parts/other_forms.dart index 40dfec3..ee30f91 100644 --- a/lib/components/search/search_results_body/parts/other_forms.dart +++ b/lib/components/search/search_results_body/parts/other_forms.dart @@ -16,7 +16,7 @@ class OtherForms extends StatelessWidget { children: forms.isNotEmpty ? [ const Text( - 'Other Forms', + 'Other Forms:', style: TextStyle(fontWeight: FontWeight.bold), ), Wrap(