mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: search pgc card
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -10,8 +10,7 @@ import 'package:PiliPlus/utils/utils.dart';
|
||||
import '../../../utils/grid.dart';
|
||||
|
||||
Widget searchBangumiPanel(context, ctr, LoadingState loadingState) {
|
||||
TextStyle style =
|
||||
TextStyle(fontSize: Theme.of(context).textTheme.labelMedium!.fontSize);
|
||||
late TextStyle style = TextStyle(fontSize: 13);
|
||||
return switch (loadingState) {
|
||||
Loading() => loadingWidget,
|
||||
Success() => (loadingState.response as List?)?.isNotEmpty == true
|
||||
@@ -77,8 +76,8 @@ Widget searchBangumiPanel(context, ctr, LoadingState loadingState) {
|
||||
children: [
|
||||
const SizedBox(height: 4),
|
||||
RichText(
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
// maxLines: 1,
|
||||
// overflow: TextOverflow.ellipsis,
|
||||
textScaler:
|
||||
MediaQuery.textScalerOf(context),
|
||||
text: TextSpan(
|
||||
|
||||
Reference in New Issue
Block a user