feat: Add export of logcat logs to Settings

This commit is contained in:
Alberto Ponces
2022-09-13 17:46:22 +01:00
parent d613cece15
commit c92b889cd9
4 changed files with 43 additions and 2 deletions

View File

@ -124,10 +124,25 @@ class SettingsView extends StatelessWidget {
],
),
const Divider(thickness: 1.0),
const SettingsSection(
SettingsSection(
title: 'settingsView.infoSectionTitle',
children: <Widget>[
AboutWidget(),
ListTile(
contentPadding: EdgeInsets.zero,
title: I18nText(
'settingsView.logsLabel',
child: const Text(
'',
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.w500,
),
),
),
subtitle: I18nText('settingsView.logsHint'),
onTap: () => model.exportLogcatLogs(),
),
const AboutWidget(),
],
),
],