From d7bd602e45946d3b443179f4a895fd604e1a0858 Mon Sep 17 00:00:00 2001 From: Feichtmeier Date: Sat, 6 Apr 2024 17:25:48 +0200 Subject: [PATCH] Update legal notes --- lib/constants.dart | 4 ++++ lib/legal_page.dart | 5 +++-- lib/logo.dart | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/constants.dart b/lib/constants.dart index c49a0d6..7a2bd87 100644 --- a/lib/constants.dart +++ b/lib/constants.dart @@ -42,3 +42,7 @@ const kHighlightColor = Colors.white; const kYaruTutorialMarkDown = 'https://raw.githubusercontent.com/ubuntu-flutter-community/yaru_tutorial/master/README.md'; + +const kLegalNote = 'Ubuntu is a registered trademark of Canonical Ltd'; +const kLegalLabel = + 'Ubuntu Flutter Community is not officially endorsed by Canonical Ltd'; diff --git a/lib/legal_page.dart b/lib/legal_page.dart index 805d010..e11d2d4 100644 --- a/lib/legal_page.dart +++ b/lib/legal_page.dart @@ -1,5 +1,6 @@ import 'package:flutter/material.dart'; +import 'constants.dart'; import 'sub_page.dart'; class LegalPage extends StatelessWidget { @@ -12,8 +13,8 @@ class LegalPage extends StatelessWidget { child: Column( mainAxisSize: MainAxisSize.min, children: [ - const Text('Ubuntu is a registered trademark of Canonical Ltd'), - const Text('Ubuntu Flutter Community is not Canonical Ltd'), + const Text(kLegalNote), + const Text(kLegalLabel), ] .map( (e) => Padding( diff --git a/lib/logo.dart b/lib/logo.dart index 49fd630..616dcb8 100644 --- a/lib/logo.dart +++ b/lib/logo.dart @@ -60,6 +60,7 @@ class _LogoState extends State with SingleTickerProviderStateMixin { radius: widget.size / 10, child: Icon( YaruIcons.ubuntu_logo_simple, + color: Colors.white, size: (widget.size / 10) * 1.5, ), ),