Refactoring

This commit is contained in:
Felix Kirchner
2025-05-03 16:09:04 +02:00
parent 9e44138851
commit ca19067152
7 changed files with 13 additions and 16 deletions

View File

@@ -28,7 +28,7 @@ class _ActiveGameViewState extends State<ActiveGameView> {
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Text(
'Spieler:innen',
style: CustomTheme.createGameTitle,
style: CustomTheme.rowTitle,
),
),
ListView.builder(
@@ -61,7 +61,7 @@ class _ActiveGameViewState extends State<ActiveGameView> {
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Text(
'Runden',
style: CustomTheme.createGameTitle,
style: CustomTheme.rowTitle,
),
),
ListView.builder(

View File

@@ -44,7 +44,7 @@ class _CreateGameState extends State<CreateGame> {
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Text(
'Spiel',
style: CustomTheme.createGameTitle,
style: CustomTheme.rowTitle,
),
),
Padding(
@@ -98,7 +98,7 @@ class _CreateGameState extends State<CreateGame> {
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Text(
'Spieler:innen',
style: CustomTheme.createGameTitle,
style: CustomTheme.rowTitle,
),
),
Expanded(

View File

@@ -29,7 +29,7 @@ class InformationView extends StatelessWidget {
),
Padding(
padding:
const EdgeInsets.symmetric(horizontal: 20, vertical: 10),
const EdgeInsets.symmetric(horizontal: 20, vertical: 30),
child: SizedBox(
height: 200,
child: Image.asset('assets/cabo-counter-logo_rounded.png'),

View File

@@ -39,7 +39,7 @@ class _SettingsViewState extends State<SettingsView> {
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Text(
'Punkte',
style: CustomTheme.createGameTitle,
style: CustomTheme.rowTitle,
),
),
Padding(
@@ -100,7 +100,7 @@ class _SettingsViewState extends State<SettingsView> {
padding: const EdgeInsets.fromLTRB(10, 10, 0, 0),
child: Text(
'Spieldaten',
style: CustomTheme.createGameTitle,
style: CustomTheme.rowTitle,
),
),
Padding(
@@ -201,7 +201,7 @@ class _SettingsViewState extends State<SettingsView> {
builder: (context, snapshot) {
if (snapshot.hasData) {
return Text(
'Alpha ${snapshot.data!.version} '
'${Globals.appDevPhase} ${snapshot.data!.version} '
'(Build ${snapshot.data!.buildNumber})',
textAlign: TextAlign.center,
);