mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-06 02:54:49 +08:00
@@ -260,7 +260,7 @@ class OpusContent extends StatelessWidget {
|
||||
.toList(),
|
||||
);
|
||||
}
|
||||
case 3 when (element.line != null):
|
||||
case 3 when (element.line?.pic != null):
|
||||
final height = element.line!.pic!.height?.toDouble();
|
||||
return CachedNetworkImage(
|
||||
fit: .contain,
|
||||
@@ -336,6 +336,8 @@ class OpusContent extends StatelessWidget {
|
||||
Text(ugc.title!),
|
||||
Text(
|
||||
ugc.descSecond!,
|
||||
maxLines: 2,
|
||||
overflow: .ellipsis,
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
color: colorScheme.outline,
|
||||
@@ -378,6 +380,8 @@ class OpusContent extends StatelessWidget {
|
||||
if (common.desc2 != null)
|
||||
Text(
|
||||
common.desc2!,
|
||||
maxLines: 2,
|
||||
overflow: .ellipsis,
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
color: colorScheme.outline,
|
||||
@@ -415,6 +419,8 @@ class OpusContent extends StatelessWidget {
|
||||
if (live.descSecond != null)
|
||||
Text(
|
||||
live.descSecond!,
|
||||
maxLines: 2,
|
||||
overflow: .ellipsis,
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
color: colorScheme.outline,
|
||||
@@ -507,6 +513,8 @@ class OpusContent extends StatelessWidget {
|
||||
if (music.label != null)
|
||||
Text(
|
||||
music.label!,
|
||||
maxLines: 2,
|
||||
overflow: .ellipsis,
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
color: colorScheme.outline,
|
||||
@@ -693,9 +701,9 @@ class OpusContent extends StatelessWidget {
|
||||
),
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
} catch (e, s) {
|
||||
return SelectableText(
|
||||
'错误的类型 $e',
|
||||
'错误的类型 $e${kDebugMode ? '\n$s' : ''}',
|
||||
style: const TextStyle(
|
||||
fontWeight: .bold,
|
||||
color: Colors.red,
|
||||
|
||||
Reference in New Issue
Block a user