opt: BoxFit desc (#737)

This commit is contained in:
My-Responsitories
2025-04-23 15:57:27 +08:00
committed by GitHub
parent cba70c3507
commit 7bb0307e6a
3 changed files with 24 additions and 26 deletions

View File

@@ -82,7 +82,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
plPlayerController.toggleVideoFit(boxFit);
},
child: Text(
"${PlPlayerController.videoFitType[boxFit.index]['desc']}",
boxFit.desc,
style:
const TextStyle(color: Colors.white, fontSize: 13),
),
@@ -90,7 +90,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
}).toList();
},
child: Text(
"${PlPlayerController.videoFitType[plPlayerController.videoFit.value.index]['desc']}",
plPlayerController.videoFit.value.desc,
style: const TextStyle(color: Colors.white, fontSize: 13),
),
),