mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: Use correct title size for bottom sheet (#1687)
Co-authored-by: aAbed <aabedhkhan@gmail.com>
This commit is contained in:
parent
bdfeda23b6
commit
34365239c1
0
assets/i18n/en_US.json
Normal file
0
assets/i18n/en_US.json
Normal file
@ -270,11 +270,11 @@
|
||||
},
|
||||
"contributorsView": {
|
||||
"widgetTitle": "Contributors",
|
||||
"patcherContributors": "Patcher contributors",
|
||||
"patchesContributors": "Patches contributors",
|
||||
"integrationsContributors": "Integrations contributors",
|
||||
"cliContributors": "CLI contributors",
|
||||
"managerContributors": "Manager contributors"
|
||||
"patcherContributors": "ReVanced Patcher",
|
||||
"patchesContributors": "ReVanced Patches",
|
||||
"integrationsContributors": "ReVanced Integrations",
|
||||
"cliContributors": "ReVanced CLI",
|
||||
"managerContributors": "ReVanced Manager"
|
||||
},
|
||||
"installErrorDialog": {
|
||||
"mount_version_mismatch": "Version mismatch",
|
||||
|
@ -5,7 +5,11 @@ import 'package:revanced_manager/gen/strings.g.dart';
|
||||
import 'package:revanced_manager/ui/views/home/home_viewmodel.dart';
|
||||
|
||||
class UpdateConfirmationSheet extends StatelessWidget {
|
||||
const UpdateConfirmationSheet({super.key, required this.isPatches, this.changelog = false});
|
||||
const UpdateConfirmationSheet({
|
||||
super.key,
|
||||
required this.isPatches,
|
||||
this.changelog = false,
|
||||
});
|
||||
|
||||
final bool isPatches;
|
||||
final bool changelog;
|
||||
@ -65,8 +69,9 @@ class UpdateConfirmationSheet extends StatelessWidget {
|
||||
children: [
|
||||
Icon(
|
||||
Icons.new_releases_outlined,
|
||||
color:
|
||||
Theme.of(context).colorScheme.secondary,
|
||||
color: Theme.of(context)
|
||||
.colorScheme
|
||||
.secondary,
|
||||
),
|
||||
const SizedBox(width: 8.0),
|
||||
Text(
|
||||
@ -97,11 +102,15 @@ class UpdateConfirmationSheet extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 12.0, left: 24.0, bottom: 12.0),
|
||||
padding: const EdgeInsets.only(
|
||||
top: 12.0,
|
||||
left: 24.0,
|
||||
bottom: 12.0,
|
||||
),
|
||||
child: Text(
|
||||
t.homeView.updateChangelogTitle,
|
||||
style: TextStyle(
|
||||
fontSize: 20,
|
||||
fontSize: changelog ? 24 : 20,
|
||||
fontWeight: FontWeight.w500,
|
||||
color:
|
||||
Theme.of(context).colorScheme.onSecondaryContainer,
|
||||
@ -115,6 +124,11 @@ class UpdateConfirmationSheet extends StatelessWidget {
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
),
|
||||
child: Markdown(
|
||||
styleSheet: MarkdownStyleSheet(
|
||||
a: TextStyle(
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
),
|
||||
),
|
||||
shrinkWrap: true,
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
padding: const EdgeInsets.all(20.0),
|
||||
|
Loading…
Reference in New Issue
Block a user