feat: ability to delete keystores.

This commit is contained in:
Aunali321
2022-10-17 00:22:07 +05:30
parent 331691cc9d
commit 9de063aced
4 changed files with 34 additions and 1 deletions

View File

@ -136,6 +136,22 @@ class SettingsView extends StatelessWidget {
subtitle: 'settingsView.sourcesLabelHint',
onTap: () => model.showSourcesDialog(context),
),
ListTile(
contentPadding:
const EdgeInsets.symmetric(horizontal: 20.0),
title: I18nText(
'settingsView.deleteKeystoreLabel',
child: const Text(
'',
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.w500,
),
),
),
subtitle: I18nText('settingsView.deleteKeystoreHint'),
onTap: () => model.deleteKeystore,
),
],
),
_settingsDivider,