mangayomi/lib/modules/more/settings/settings_screen.dart
kodjomoustapha b10c3f3a22 misc changes
- remove cronet_http & cupertino_http
- use rhttp package as default http client
- fix #198 #200 crashes on multiple downloads
- fix #162 #102 unable to download with forbidden characters in the name (as it is fixed this can cause reading problems concerning chapters downloaded before this version)
- now supports all features on all platforms such as VPNs and HTTP proxies thanks to rhttp package
2024-08-21 13:30:13 +01:00

61 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.appearance,
subtitle: l10n.appearance_subtitle,
icon: Icons.color_lens_rounded,
onTap: () => context.push('/appearance')),
ListTileWidget(
title: l10n.reader,
subtitle: l10n.reader_subtitle,
icon: Icons.chrome_reader_mode_rounded,
onTap: () => context.push('/readerMode')),
ListTileWidget(
title: l10n.player,
subtitle: l10n.reader_subtitle,
icon: Icons.play_circle_outline_outlined,
onTap: () => context.push('/playerMode')),
ListTileWidget(
title: l10n.downloads,
subtitle: l10n.downloads_subtitle,
icon: Icons.download_outlined,
onTap: () => context.push('/downloads')),
ListTileWidget(
title: l10n.tracking,
subtitle: "",
icon: Icons.sync_outlined,
onTap: () => context.push('/track')),
ListTileWidget(
title: l10n.browse,
subtitle: l10n.browse_subtitle,
icon: Icons.explore_rounded,
onTap: () => context.push('/browseS')),
ListTileWidget(
onTap: () {
context.push('/about');
},
icon: Icons.info_outline,
title: l10n.about,
),
],
),
),
);
}
}