생성 때 고른 행성 형태·색 표시 · HOME 주간 정보
This commit is contained in:
@@ -6,6 +6,7 @@ import '../../core/i18n/app_locale.dart';
|
||||
import '../../core/push/push_messaging.dart';
|
||||
import '../../core/theme/tokens.dart';
|
||||
import '../../core/ui/app_icons.dart';
|
||||
import '../../core/ui/planet_25d.dart' show PlanetArt;
|
||||
import '../auth/auth.dart';
|
||||
import '../auth/auth_repository.dart';
|
||||
import '../campaign/campaign_data.dart' show CampaignRepository;
|
||||
@@ -260,12 +261,15 @@ class _MyScreenState extends State<MyScreen> {
|
||||
),
|
||||
),
|
||||
child: i < _planets.length
|
||||
? Image.asset(
|
||||
GalaxyHomeScreen.cardImageOf(
|
||||
? PlanetArt(
|
||||
fallback: GalaxyHomeScreen.cardImageOf(
|
||||
_planets[i],
|
||||
i,
|
||||
),
|
||||
fit: BoxFit.contain,
|
||||
planetType: _planets[i].stage == 0
|
||||
? null
|
||||
: _planets[i].planetType,
|
||||
colorKey: _planets[i].colorKey,
|
||||
semanticLabel: _planets[i].name,
|
||||
)
|
||||
: null,
|
||||
|
||||
Reference in New Issue
Block a user