From 4296660257a9fbdbd3338a1f06b4331c6bc45eff Mon Sep 17 00:00:00 2001 From: Nils Reichardt Date: Sat, 9 Dec 2023 17:52:32 +0100 Subject: [PATCH 1/2] Fix website PR preview (#1182) --- .github/workflows/unsafe_website_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unsafe_website_ci.yml b/.github/workflows/unsafe_website_ci.yml index c5ecbb3e2..2539bc73e 100644 --- a/.github/workflows/unsafe_website_ci.yml +++ b/.github/workflows/unsafe_website_ci.yml @@ -175,4 +175,4 @@ jobs: # The expiration date shouldn't be too high, because if we open a lot # of pull requests, we will run out of quota (we get 429 errors). expires: "3d" - target: "sharezone-website-dev" + target: "sharezone-website" From 693062536a43132280b14e31ce4f13e1fb92bc80 Mon Sep 17 00:00:00 2001 From: Jonas Sander <29028262+Jonas-Sander@users.noreply.github.com> Date: Sat, 9 Dec 2023 17:56:40 +0100 Subject: [PATCH 2/2] Fix SvgPicture.asset.color lints. (#1181) Fix: `'color' is deprecated and shouldn't be used.` Co-authored-by: Nils Reichardt --- website/lib/footer.dart | 2 +- website/lib/support_page.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/lib/footer.dart b/website/lib/footer.dart index 20ecf226d..f1da94b14 100644 --- a/website/lib/footer.dart +++ b/website/lib/footer.dart @@ -348,7 +348,7 @@ class _SocialMediaButton extends StatelessWidget { padding: const EdgeInsets.all(8), child: SvgPicture.asset( "assets/icons/$lowerCasePlatform.svg", - color: Theme.of(context).primaryColor, + theme: SvgTheme(currentColor: Theme.of(context).primaryColor), ), ), ), diff --git a/website/lib/support_page.dart b/website/lib/support_page.dart index cc78e62e1..4472b007b 100644 --- a/website/lib/support_page.dart +++ b/website/lib/support_page.dart @@ -109,7 +109,7 @@ class _EmailTile extends StatelessWidget { return _SupportCard( icon: SvgPicture.asset( 'assets/icons/email.svg', - color: Theme.of(context).primaryColor, + theme: SvgTheme(currentColor: Theme.of(context).primaryColor), ), title: 'support@sharezone.net', subtitle: 'E-Mail',