fix:跳转语音包设置

This commit is contained in:
liyi 2025-07-25 17:10:20 +08:00
parent 42d1ea52d4
commit b8fd34c232

View File

@ -26,7 +26,11 @@ class _LockVoiceSettingState extends State<LockVoiceSetting> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return WillPopScope(
onWillPop: () async {
return false;
},
child: Scaffold(
backgroundColor: AppColors.mainBackgroundColor, backgroundColor: AppColors.mainBackgroundColor,
appBar: TitleAppBar( appBar: TitleAppBar(
barTitle: '锁语音包设置'.tr, barTitle: '锁语音包设置'.tr,
@ -61,6 +65,7 @@ class _LockVoiceSettingState extends State<LockVoiceSetting> {
], ],
), ),
body: _buildBody(), body: _buildBody(),
),
); );
} }