File tree 2 files changed +15
-9
lines changed
2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -158,9 +158,12 @@ class _CalendarCardState extends ConsumerState<CalendarCard>
158
158
FluentIcons .info,
159
159
color: FluentTheme .of (context).accentColor.light,
160
160
),
161
- onPressed: () => ref
162
- .read (navStoreProvider)
163
- .addNavItemB (type: '动画' , subject: data.id),
161
+ onPressed: () async {
162
+ var title = data.nameCn == '' ? data.name : data.nameCn;
163
+ ref
164
+ .read (navStoreProvider)
165
+ .addNavItemB (type: '动画' , subject: data.id, paneTitle: title);
166
+ },
164
167
),
165
168
),
166
169
],
@@ -178,7 +181,7 @@ class _CalendarCardState extends ConsumerState<CalendarCard>
178
181
rating: score,
179
182
iconSize: 20. sp,
180
183
starSpacing: 1. sp,
181
- unratedIconColor: FluentTheme .of (context).accentColor.withOpacity ( 0.5 ),
184
+ unratedIconColor: FluentTheme .of (context).accentColor.withAlpha ( 50 )
182
185
));
183
186
rateWidget.add (SizedBox (height: 5. h));
184
187
rateWidget.add (Text (
Original file line number Diff line number Diff line change @@ -303,11 +303,14 @@ class _BsdBmfWidgetState extends State<BsdBmfWidget>
303
303
if (! widget.isConfig) title = 'BMF Config - $title ' ;
304
304
return Expander (
305
305
leading: BsdBmfLeading (widget.isConfig, bmf),
306
- header: Text (
307
- title,
308
- style: TextStyle (fontSize: 20 ),
309
- maxLines: 1 ,
310
- overflow: TextOverflow .ellipsis,
306
+ header: Tooltip (
307
+ message: title,
308
+ child: Text (
309
+ title,
310
+ style: TextStyle (fontSize: 20 ),
311
+ maxLines: 1 ,
312
+ overflow: TextOverflow .ellipsis,
313
+ ),
311
314
),
312
315
content: Column (
313
316
crossAxisAlignment: CrossAxisAlignment .start,
You can’t perform that action at this time.
0 commit comments