Compare commits

..

2 Commits

Author SHA1 Message Date
semantic-release-bot
64c10b44f5 chore(release): 1.19.0-dev.9 [skip ci]
## Bug Fixes
* Use correct title size for bottom sheet (#1687) ([oSumAtrIX](34365239c1))
2024-02-12 19:55:06 +00:00
oSumAtrIX
34365239c1 fix: Use correct title size for bottom sheet (#1687)
Co-authored-by: aAbed <aabedhkhan@gmail.com>
2024-02-12 20:46:58 +01:00
4 changed files with 69 additions and 55 deletions

0
assets/i18n/en_US.json Normal file
View File

View File

@@ -270,11 +270,11 @@
}, },
"contributorsView": { "contributorsView": {
"widgetTitle": "Contributors", "widgetTitle": "Contributors",
"patcherContributors": "Patcher contributors", "patcherContributors": "ReVanced Patcher",
"patchesContributors": "Patches contributors", "patchesContributors": "ReVanced Patches",
"integrationsContributors": "Integrations contributors", "integrationsContributors": "ReVanced Integrations",
"cliContributors": "CLI contributors", "cliContributors": "ReVanced CLI",
"managerContributors": "Manager contributors" "managerContributors": "ReVanced Manager"
}, },
"installErrorDialog": { "installErrorDialog": {
"mount_version_mismatch": "Version mismatch", "mount_version_mismatch": "Version mismatch",

View File

@@ -5,7 +5,11 @@ import 'package:revanced_manager/gen/strings.g.dart';
import 'package:revanced_manager/ui/views/home/home_viewmodel.dart'; import 'package:revanced_manager/ui/views/home/home_viewmodel.dart';
class UpdateConfirmationSheet extends StatelessWidget { 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 isPatches;
final bool changelog; final bool changelog;
@@ -65,8 +69,9 @@ class UpdateConfirmationSheet extends StatelessWidget {
children: [ children: [
Icon( Icon(
Icons.new_releases_outlined, Icons.new_releases_outlined,
color: color: Theme.of(context)
Theme.of(context).colorScheme.secondary, .colorScheme
.secondary,
), ),
const SizedBox(width: 8.0), const SizedBox(width: 8.0),
Text( Text(
@@ -97,11 +102,15 @@ class UpdateConfirmationSheet extends StatelessWidget {
), ),
), ),
Padding( 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( child: Text(
t.homeView.updateChangelogTitle, t.homeView.updateChangelogTitle,
style: TextStyle( style: TextStyle(
fontSize: 20, fontSize: changelog ? 24 : 20,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
color: color:
Theme.of(context).colorScheme.onSecondaryContainer, Theme.of(context).colorScheme.onSecondaryContainer,
@@ -115,6 +124,11 @@ class UpdateConfirmationSheet extends StatelessWidget {
borderRadius: BorderRadius.circular(12.0), borderRadius: BorderRadius.circular(12.0),
), ),
child: Markdown( child: Markdown(
styleSheet: MarkdownStyleSheet(
a: TextStyle(
color: Theme.of(context).colorScheme.primary,
),
),
shrinkWrap: true, shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(), physics: const NeverScrollableScrollPhysics(),
padding: const EdgeInsets.all(20.0), padding: const EdgeInsets.all(20.0),

View File

@@ -4,7 +4,7 @@ homepage: https://github.com/ReVanced/revanced-manager
publish_to: 'none' publish_to: 'none'
version: 1.19.0-dev.8+101900008 version: 1.19.0-dev.9+101900009
environment: environment:
sdk: '>=3.0.0 <4.0.0' sdk: '>=3.0.0 <4.0.0'