mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -444,7 +444,8 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
|
||||
onTap: showIntroDetail,
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
StatView(
|
||||
statView(
|
||||
context: context,
|
||||
theme: 'gray',
|
||||
view: !loadingStatus
|
||||
? widget.videoDetail?.stat?.view ?? '-'
|
||||
@@ -452,7 +453,8 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
|
||||
size: 'medium',
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
StatDanMu(
|
||||
statDanMu(
|
||||
context: context,
|
||||
theme: 'gray',
|
||||
danmu: !loadingStatus
|
||||
? widget.videoDetail?.stat?.danmu ?? '-'
|
||||
|
||||
@@ -32,13 +32,11 @@ class ActionRowItem extends StatelessWidget {
|
||||
child: InkWell(
|
||||
onTap: () => {
|
||||
feedBack(),
|
||||
onTap!(),
|
||||
onTap?.call(),
|
||||
},
|
||||
onLongPress: () {
|
||||
feedBack();
|
||||
if (onLongPress != null) {
|
||||
onLongPress!();
|
||||
}
|
||||
onLongPress?.call();
|
||||
},
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.fromLTRB(15, 7, 15, 7),
|
||||
|
||||
@@ -56,13 +56,15 @@ class IntroDetail extends StatelessWidget {
|
||||
const SizedBox(height: 6),
|
||||
Row(
|
||||
children: [
|
||||
StatView(
|
||||
statView(
|
||||
context: context,
|
||||
theme: 'gray',
|
||||
view: videoDetail!.stat!.view,
|
||||
size: 'medium',
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
StatDanMu(
|
||||
statDanMu(
|
||||
context: context,
|
||||
theme: 'gray',
|
||||
danmu: videoDetail!.stat!.danmu,
|
||||
size: 'medium',
|
||||
|
||||
@@ -61,7 +61,7 @@ class MenuRow extends StatelessWidget {
|
||||
child: InkWell(
|
||||
onTap: () => {
|
||||
feedBack(),
|
||||
onTap!(),
|
||||
onTap?.call(),
|
||||
},
|
||||
child: Container(
|
||||
padding: const EdgeInsets.fromLTRB(13, 5.5, 13, 4.5),
|
||||
@@ -120,7 +120,7 @@ class ActionRowLineItem extends StatelessWidget {
|
||||
child: InkWell(
|
||||
onTap: () => {
|
||||
feedBack(),
|
||||
onTap!(),
|
||||
onTap?.call(),
|
||||
},
|
||||
child: Container(
|
||||
padding: const EdgeInsets.fromLTRB(13, 5.5, 13, 4.5),
|
||||
|
||||
Reference in New Issue
Block a user