mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
fix: Add haptics to save last APK switch (#2133)
This commit is contained in:
parent
cb722f2634
commit
e063b3d102
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:revanced_manager/gen/strings.g.dart';
|
import 'package:revanced_manager/gen/strings.g.dart';
|
||||||
import 'package:revanced_manager/ui/views/settings/settings_viewmodel.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 {
|
class SLastPatchedApp extends StatefulWidget {
|
||||||
const SLastPatchedApp({super.key});
|
const SLastPatchedApp({super.key});
|
||||||
|
@ -16,7 +17,7 @@ class _SLastPatchedAppState
|
||||||
extends State<SLastPatchedApp> {
|
extends State<SLastPatchedApp> {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return SwitchListTile(
|
return HapticSwitchListTile(
|
||||||
contentPadding: const EdgeInsets.symmetric(horizontal: 20.0),
|
contentPadding: const EdgeInsets.symmetric(horizontal: 20.0),
|
||||||
title: Text(
|
title: Text(
|
||||||
t.settingsView.lastPatchedAppLabel,
|
t.settingsView.lastPatchedAppLabel,
|
||||||
|
|
Loading…
Reference in a new issue