mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-03-11 21:35:32 +00:00
- added navigation button if an entry is already being tracked - added option to calibrate soft subtitles
67 lines
2.1 KiB
Dart
67 lines
2.1 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:go_router/go_router.dart';
|
|
import 'package:mangayomi/modules/more/widgets/list_tile_widget.dart';
|
|
import 'package:mangayomi/providers/l10n_providers.dart';
|
|
|
|
class SettingsScreen extends StatelessWidget {
|
|
const SettingsScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
final l10n = l10nLocalizations(context);
|
|
return Scaffold(
|
|
appBar: AppBar(title: Text(l10n!.settings)),
|
|
body: SingleChildScrollView(
|
|
child: Column(
|
|
children: [
|
|
ListTileWidget(
|
|
title: l10n.general,
|
|
icon: Icons.settings,
|
|
onTap: () => context.push('/general'),
|
|
),
|
|
ListTileWidget(
|
|
title: l10n.appearance,
|
|
icon: Icons.color_lens_rounded,
|
|
onTap: () => context.push('/appearance'),
|
|
),
|
|
ListTileWidget(
|
|
title: l10n.reader,
|
|
icon: Icons.chrome_reader_mode_rounded,
|
|
onTap: () => context.push('/readerMode'),
|
|
),
|
|
ListTileWidget(
|
|
title: l10n.player,
|
|
icon: Icons.play_circle_outline_outlined,
|
|
onTap: () => context.push('/playerOverview'),
|
|
),
|
|
ListTileWidget(
|
|
title: l10n.downloads,
|
|
icon: Icons.download_outlined,
|
|
onTap: () => context.push('/downloads'),
|
|
),
|
|
ListTileWidget(
|
|
title: l10n.tracking,
|
|
icon: Icons.sync_outlined,
|
|
onTap: () => context.push('/track'),
|
|
),
|
|
ListTileWidget(
|
|
title: l10n.syncing,
|
|
icon: Icons.cloud_sync_outlined,
|
|
onTap: () => context.push('/sync'),
|
|
),
|
|
ListTileWidget(
|
|
title: l10n.browse,
|
|
icon: Icons.explore_rounded,
|
|
onTap: () => context.push('/browseS'),
|
|
),
|
|
ListTileWidget(
|
|
title: l10n.about,
|
|
icon: Icons.info_outline,
|
|
onTap: () => context.push('/about'),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|