Skip to content

Commit d7bd602

Browse files
committed
Update legal notes
1 parent 90d16c1 commit d7bd602

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎lib/constants.dart‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ const kHighlightColor = Colors.white;
4242

4343
const kYaruTutorialMarkDown =
4444
'https://raw.githubusercontent.com/ubuntu-flutter-community/yaru_tutorial/master/README.md';
45+
46+
const kLegalNote = 'Ubuntu is a registered trademark of Canonical Ltd';
47+
const kLegalLabel =
48+
'Ubuntu Flutter Community is not officially endorsed by Canonical Ltd';

‎lib/legal_page.dart‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import 'package:flutter/material.dart';
22

3+
import 'constants.dart';
34
import 'sub_page.dart';
45

56
class LegalPage extends StatelessWidget {
@@ -12,8 +13,8 @@ class LegalPage extends StatelessWidget {
1213
child: Column(
1314
mainAxisSize: MainAxisSize.min,
1415
children: [
15-
const Text('Ubuntu is a registered trademark of Canonical Ltd'),
16-
const Text('Ubuntu Flutter Community is not Canonical Ltd'),
16+
const Text(kLegalNote),
17+
const Text(kLegalLabel),
1718
]
1819
.map(
1920
(e) => Padding(

‎lib/logo.dart‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class _LogoState extends State<Logo> with SingleTickerProviderStateMixin {
6060
radius: widget.size / 10,
6161
child: Icon(
6262
YaruIcons.ubuntu_logo_simple,
63+
color: Colors.white,
6364
size: (widget.size / 10) * 1.5,
6465
),
6566
),

0 commit comments

Comments
 (0)