Updated license tile and adjusted settings tile accordingly
All checks were successful
Pull Request Pipeline / lint (pull_request) Successful in 2m37s
Pull Request Pipeline / test (pull_request) Successful in 2m36s

This commit is contained in:
2026-01-11 16:33:56 +01:00
parent 9248284292
commit d7f08c5f50
6 changed files with 131 additions and 41 deletions

View File

@@ -45,7 +45,7 @@ class _SettingsViewState extends State<SettingsView> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding: const EdgeInsets.fromLTRB(24, 0, 24, 10),
padding: const EdgeInsets.only(left: 16, bottom: 10),
child: Text(
textAlign: TextAlign.start,
loc.menu,
@@ -56,7 +56,7 @@ class _SettingsViewState extends State<SettingsView> {
),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 24, vertical: 10),
padding: const EdgeInsets.only(left: 16, top: 10, bottom: 10),
child: Text(
textAlign: TextAlign.start,
loc.settings,
@@ -68,7 +68,7 @@ class _SettingsViewState extends State<SettingsView> {
),
SettingsListTile(
title: loc.export_data,
icon: Icons.upload_rounded,
icon: Icons.upload,
suffixWidget: const Icon(Icons.arrow_forward_ios, size: 16),
onPressed: () async {
final String json = await DataTransferService.getAppDataAsJson(
@@ -84,7 +84,7 @@ class _SettingsViewState extends State<SettingsView> {
),
SettingsListTile(
title: loc.import_data,
icon: Icons.download_rounded,
icon: Icons.download,
suffixWidget: const Icon(Icons.arrow_forward_ios, size: 16),
onPressed: () async {
final result = await DataTransferService.importData(context);
@@ -94,7 +94,7 @@ class _SettingsViewState extends State<SettingsView> {
),
SettingsListTile(
title: loc.delete_all_data,
icon: Icons.delete_rounded,
icon: Icons.delete,
suffixWidget: const Icon(Icons.arrow_forward_ios, size: 16),
onPressed: () {
showDialog<bool>(
@@ -127,7 +127,7 @@ class _SettingsViewState extends State<SettingsView> {
},
),
const Padding(
padding: EdgeInsets.symmetric(horizontal: 24, vertical: 10),
padding: EdgeInsets.only(left: 16, top: 10, bottom: 10),
child: Text(
textAlign: TextAlign.start,
'App',