mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +08:00
@@ -185,6 +185,7 @@ class VideoCardH extends StatelessWidget {
|
|||||||
child: RichText(
|
child: RichText(
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
maxLines: 2,
|
maxLines: 2,
|
||||||
|
textScaler: MediaQuery.textScalerOf(context),
|
||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
children: [
|
children: [
|
||||||
for (final i in videoItem.title) ...[
|
for (final i in videoItem.title) ...[
|
||||||
|
|||||||
@@ -325,6 +325,7 @@ class VideoCardV extends StatelessWidget {
|
|||||||
flex: 0,
|
flex: 0,
|
||||||
child: RichText(
|
child: RichText(
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
|
textScaler: MediaQuery.textScalerOf(context),
|
||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize:
|
fontSize:
|
||||||
@@ -347,6 +348,7 @@ class VideoCardV extends StatelessWidget {
|
|||||||
flex: 0,
|
flex: 0,
|
||||||
child: RichText(
|
child: RichText(
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
|
textScaler: MediaQuery.textScalerOf(context),
|
||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize:
|
fontSize:
|
||||||
|
|||||||
@@ -164,6 +164,9 @@ Widget searchArticlePanel(context, searchPanelCtr, LoadingState loadingState) {
|
|||||||
children: [
|
children: [
|
||||||
RichText(
|
RichText(
|
||||||
maxLines: 2,
|
maxLines: 2,
|
||||||
|
textScaler:
|
||||||
|
MediaQuery.textScalerOf(
|
||||||
|
context),
|
||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
children: [
|
children: [
|
||||||
for (var i in loadingState
|
for (var i in loadingState
|
||||||
|
|||||||
@@ -131,6 +131,7 @@ class LiveContent extends StatelessWidget {
|
|||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
RichText(
|
RichText(
|
||||||
|
textScaler: MediaQuery.textScalerOf(context),
|
||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
children: [
|
children: [
|
||||||
for (var i in liveItem.title) ...[
|
for (var i in liveItem.title) ...[
|
||||||
|
|||||||
@@ -78,6 +78,8 @@ Widget searchBangumiPanel(context, ctr, LoadingState loadingState) {
|
|||||||
RichText(
|
RichText(
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
|
textScaler:
|
||||||
|
MediaQuery.textScalerOf(context),
|
||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Theme.of(context)
|
color: Theme.of(context)
|
||||||
@@ -88,13 +90,10 @@ Widget searchBangumiPanel(context, ctr, LoadingState loadingState) {
|
|||||||
TextSpan(
|
TextSpan(
|
||||||
text: i['text'],
|
text: i['text'],
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize:
|
fontSize: Theme.of(context)
|
||||||
MediaQuery.textScalerOf(
|
|
||||||
context)
|
|
||||||
.scale(Theme.of(context)
|
|
||||||
.textTheme
|
.textTheme
|
||||||
.titleSmall!
|
.titleSmall!
|
||||||
.fontSize!),
|
.fontSize!,
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
color: i['type'] == 'em'
|
color: i['type'] == 'em'
|
||||||
? Theme.of(context)
|
? Theme.of(context)
|
||||||
|
|||||||
Reference in New Issue
Block a user