💄 Specialize details for 大吉 and 大凶
This commit is contained in:
parent
997562d174
commit
ddfbcc5e58
@ -261,6 +261,8 @@
|
|||||||
"dailyCheckDetailTitle": "{}'s fortune details",
|
"dailyCheckDetailTitle": "{}'s fortune details",
|
||||||
"dailyCheckPositiveHint": "Good for {}",
|
"dailyCheckPositiveHint": "Good for {}",
|
||||||
"dailyCheckNegativeHint": "Bad for {}",
|
"dailyCheckNegativeHint": "Bad for {}",
|
||||||
|
"dailyCheckEverythingIsPositive": "Everything going to be awesome!",
|
||||||
|
"dailyCheckEverythingIsNegative": "Everything may be wrong...",
|
||||||
"dailyCheckPositiveHint1": "Making friends",
|
"dailyCheckPositiveHint1": "Making friends",
|
||||||
"dailyCheckPositiveHint1Description": "Friendship lasts forever",
|
"dailyCheckPositiveHint1Description": "Friendship lasts forever",
|
||||||
"dailyCheckPositiveHint2": "Drinking",
|
"dailyCheckPositiveHint2": "Drinking",
|
||||||
|
@ -261,6 +261,8 @@
|
|||||||
"dailyCheckDetailTitle": "{} 的运势详情",
|
"dailyCheckDetailTitle": "{} 的运势详情",
|
||||||
"dailyCheckPositiveHint": "宜 {}",
|
"dailyCheckPositiveHint": "宜 {}",
|
||||||
"dailyCheckNegativeHint": "忌 {}",
|
"dailyCheckNegativeHint": "忌 {}",
|
||||||
|
"dailyCheckEverythingIsPositive": "诸事皆宜",
|
||||||
|
"dailyCheckEverythingIsNegative": "诸事不宜",
|
||||||
"dailyCheckPositiveHint1": "交友",
|
"dailyCheckPositiveHint1": "交友",
|
||||||
"dailyCheckPositiveHint1Description": "友谊地久天长",
|
"dailyCheckPositiveHint1Description": "友谊地久天长",
|
||||||
"dailyCheckPositiveHint2": "饮酒",
|
"dailyCheckPositiveHint2": "饮酒",
|
||||||
|
@ -197,15 +197,44 @@ class _HomeDashCheckInWidgetState extends State<_HomeDashCheckInWidget> {
|
|||||||
content: Column(
|
content: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
children: [
|
||||||
|
if (_todayRecord?.resultTier != 0)
|
||||||
|
Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
_buildDetailChunk(0, true),
|
_buildDetailChunk(0, true),
|
||||||
const Gap(8),
|
const Gap(8),
|
||||||
_buildDetailChunk(1, true),
|
_buildDetailChunk(1, true),
|
||||||
|
],
|
||||||
|
)
|
||||||
|
else
|
||||||
|
Text(
|
||||||
|
'dailyCheckEverythingIsNegative',
|
||||||
|
style: Theme.of(context)
|
||||||
|
.textTheme
|
||||||
|
.titleMedium!
|
||||||
|
.copyWith(fontWeight: FontWeight.bold),
|
||||||
|
).tr(),
|
||||||
const Gap(8),
|
const Gap(8),
|
||||||
|
if (_todayRecord?.resultTier != 4)
|
||||||
|
Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
children: [
|
||||||
_buildDetailChunk(2, false),
|
_buildDetailChunk(2, false),
|
||||||
const Gap(8),
|
const Gap(8),
|
||||||
_buildDetailChunk(3, false),
|
_buildDetailChunk(3, false),
|
||||||
],
|
],
|
||||||
|
)
|
||||||
|
else
|
||||||
|
Text(
|
||||||
|
'dailyCheckEverythingIsPositive',
|
||||||
|
style: Theme.of(context)
|
||||||
|
.textTheme
|
||||||
|
.titleMedium!
|
||||||
|
.copyWith(fontWeight: FontWeight.bold),
|
||||||
|
).tr(),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
|
Loading…
Reference in New Issue
Block a user