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