refactor(ui): 기타 화면 정리
- FrontScreen, HallOfFameScreen 개선 - NewCharacterScreen, SettingsScreen 정리 - App 초기화 로직 정리
This commit is contained in:
@@ -107,8 +107,8 @@ class FrontScreen extends StatelessWidget {
|
||||
onHallOfFame: onHallOfFame != null
|
||||
? () => onHallOfFame!(context)
|
||||
: null,
|
||||
onLocalArena: onLocalArena != null &&
|
||||
hallOfFameCount >= 2
|
||||
onLocalArena:
|
||||
onLocalArena != null && hallOfFameCount >= 2
|
||||
? () => onLocalArena!(context)
|
||||
: null,
|
||||
savedGamePreview: savedGamePreview,
|
||||
@@ -153,10 +153,7 @@ class _RetroHeader extends StatelessWidget {
|
||||
fontSize: 14,
|
||||
color: RetroColors.gold,
|
||||
shadows: [
|
||||
Shadow(
|
||||
color: RetroColors.goldDark,
|
||||
offset: Offset(2, 2),
|
||||
),
|
||||
Shadow(color: RetroColors.goldDark, offset: Offset(2, 2)),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -169,7 +166,10 @@ class _RetroHeader extends StatelessWidget {
|
||||
spacing: 8,
|
||||
runSpacing: 8,
|
||||
children: [
|
||||
_RetroTag(icon: Icons.cloud_off_outlined, label: l10n.tagNoNetwork),
|
||||
_RetroTag(
|
||||
icon: Icons.cloud_off_outlined,
|
||||
label: l10n.tagNoNetwork,
|
||||
),
|
||||
_RetroTag(icon: Icons.timer_outlined, label: l10n.tagIdleRpg),
|
||||
_RetroTag(icon: Icons.storage_rounded, label: l10n.tagLocalSaves),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user