From 9c4a52de874b3cc95bf845d4918312341c7091de Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Sat, 1 Mar 2025 13:31:00 +0800 Subject: [PATCH] opt: video toolbar icon Closes #329 Signed-off-by: bggRGjQaUbCoE --- lib/pages/video/detail/view.dart | 22 ++++++++++++++++++++++ lib/pages/video/detail/view_v.dart | 22 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/lib/pages/video/detail/view.dart b/lib/pages/video/detail/view.dart index e876c80a..26b58d32 100644 --- a/lib/pages/video/detail/view.dart +++ b/lib/pages/video/detail/view.dart @@ -1041,6 +1041,12 @@ class _VideoDetailPageState extends State FontAwesomeIcons.arrowLeft, size: 15, color: Colors.white, + shadows: [ + Shadow( + blurRadius: 1.5, + color: Colors.black, + ), + ], ), onPressed: Get.back, ), @@ -1054,6 +1060,12 @@ class _VideoDetailPageState extends State FontAwesomeIcons.house, size: 15, color: Colors.white, + shadows: [ + Shadow( + blurRadius: 1.5, + color: Colors.black, + ), + ], ), onPressed: () { Get.until((route) => route.isFirst); @@ -1064,6 +1076,16 @@ class _VideoDetailPageState extends State ), actions: [ PopupMenuButton( + icon: const Icon( + Icons.more_vert, + color: Colors.white, + shadows: [ + Shadow( + blurRadius: 1.5, + color: Colors.black, + ), + ], + ), onSelected: (String type) async { switch (type) { case 'later': diff --git a/lib/pages/video/detail/view_v.dart b/lib/pages/video/detail/view_v.dart index f7ec75c3..4c9b1731 100644 --- a/lib/pages/video/detail/view_v.dart +++ b/lib/pages/video/detail/view_v.dart @@ -1332,6 +1332,12 @@ class _VideoDetailPageVState extends State FontAwesomeIcons.arrowLeft, size: 15, color: Colors.white, + shadows: [ + Shadow( + blurRadius: 1.5, + color: Colors.black, + ), + ], ), onPressed: Get.back, ), @@ -1345,6 +1351,12 @@ class _VideoDetailPageVState extends State FontAwesomeIcons.house, size: 15, color: Colors.white, + shadows: [ + Shadow( + blurRadius: 1.5, + color: Colors.black, + ), + ], ), onPressed: () { Get.until((route) => route.isFirst); @@ -1355,6 +1367,16 @@ class _VideoDetailPageVState extends State ), actions: [ PopupMenuButton( + icon: const Icon( + Icons.more_vert, + color: Colors.white, + shadows: [ + Shadow( + blurRadius: 1.5, + color: Colors.black, + ), + ], + ), onSelected: (String type) async { switch (type) { case 'later':