Skip to content

Commit

Permalink
resolve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangbtmrk committed Nov 19, 2024
1 parent e227dd9 commit ba26ac5
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions lib/screen/settings/preferences/preferences_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,6 @@ class PreferenceView extends StatelessWidget {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: padding,
child: PreferenceItem(
title: state.authMethodName,
description: 'use_device_passcode'.tr(args: [
if (state.authMethodName != 'device_passcode'.tr())
state.authMethodName
else
'device_passcode'.tr()
]),
isEnabled: state.isDevicePasscodeEnabled,
onChanged: (value) {
final newState = state.copyWith(isDevicePasscodeEnabled: value);
context
.read<PreferencesBloc>()
.add(PreferenceUpdateEvent(newState));
},
),
),
addDivider(),
Padding(
padding: padding,
child: TappableForwardRowWithContent(
Expand Down

0 comments on commit ba26ac5

Please sign in to comment.