mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 17:29:50 +08:00
Main Screen: Put the GitJournal text below the logo
It doesn't fit on my OnePlus5 otherwise, and the only other fix is making the logo super small. Though this information which I'm showing - the logo + text, is totally just filler info. It isn't required, as the user knows which app they launched.
This commit is contained in:
@ -312,14 +312,16 @@ class OnBoardingInitialChoice extends StatelessWidget {
|
||||
|
||||
var headerTextStyle =
|
||||
Theme.of(context).textTheme.display3.copyWith(fontFamily: "Lato");
|
||||
var header = Row(
|
||||
var header = Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
Image.asset(
|
||||
'assets/icon/icon.png',
|
||||
height: 200,
|
||||
fit: BoxFit.fill,
|
||||
),
|
||||
SizedBox(width: 24.0),
|
||||
SizedBox(height: 8.0),
|
||||
Text(
|
||||
"GitJournal",
|
||||
style: headerTextStyle,
|
||||
@ -330,7 +332,7 @@ class OnBoardingInitialChoice extends StatelessWidget {
|
||||
return Container(
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
header,
|
||||
Center(child: header),
|
||||
SizedBox(height: 64.0),
|
||||
Text(
|
||||
"We need a Git Repo to store the data -",
|
||||
|
Reference in New Issue
Block a user