fix: Add haptics to save last APK switch (#2133)

This commit is contained in:
Benjamin 2024-08-11 08:51:18 -07:00 committed by GitHub
parent cb722f2634
commit e063b3d102
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:revanced_manager/gen/strings.g.dart';
import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart';
import 'package:revanced_manager/ui/widgets/shared/haptics/haptic_switch_list_tile.dart';
class SLastPatchedApp extends StatefulWidget {
const SLastPatchedApp({super.key});
@ -16,7 +17,7 @@ class _SLastPatchedAppState
extends State<SLastPatchedApp> {
@override
Widget build(BuildContext context) {
return SwitchListTile(
return HapticSwitchListTile(
contentPadding: const EdgeInsets.symmetric(horizontal: 20.0),
title: Text(
t.settingsView.lastPatchedAppLabel,