mod: enable video home btn

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-23 20:36:01 +08:00
parent 6dcfd6e0a9
commit 731184b47e

View File

@@ -27,6 +27,7 @@ import 'package:easy_debounce/easy_throttle.dart';
import 'package:floating/floating.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:flutter_svg/svg.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:get/get.dart';
import 'package:flutter/material.dart';
import 'package:hive/hive.dart';
@@ -992,39 +993,39 @@ class _VideoDetailPageState extends State<VideoDetailPage>
primary: false,
foregroundColor: Colors.white,
backgroundColor: Colors.transparent,
// automaticallyImplyLeading: false,
// title: Row(
// children: [
// SizedBox(
// width: 42,
// height: 34,
// child: IconButton(
// tooltip: '返回',
// icon: const Icon(
// FontAwesomeIcons.arrowLeft,
// size: 15,
// color: Colors.white,
// ),
// onPressed: Get.back,
// ),
// ),
// SizedBox(
// width: 42,
// height: 34,
// child: IconButton(
// tooltip: '返回主页',
// icon: const Icon(
// FontAwesomeIcons.house,
// size: 15,
// color: Colors.white,
// ),
// onPressed: () {
// Get.until((route) => route.isFirst);
// },
// ),
// ),
// ],
// ),
automaticallyImplyLeading: false,
title: Row(
children: [
SizedBox(
width: 42,
height: 34,
child: IconButton(
tooltip: '返回',
icon: const Icon(
FontAwesomeIcons.arrowLeft,
size: 15,
color: Colors.white,
),
onPressed: Get.back,
),
),
SizedBox(
width: 42,
height: 34,
child: IconButton(
tooltip: '返回主页',
icon: const Icon(
FontAwesomeIcons.house,
size: 15,
color: Colors.white,
),
onPressed: () {
Get.until((route) => route.isFirst);
},
),
),
],
),
actions: [
PopupMenuButton<String>(
onSelected: (String type) async {