Skip to content

Commit

Permalink
Update legal notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed Apr 6, 2024
1 parent 90d16c1 commit d7bd602
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions lib/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
5 changes: 3 additions & 2 deletions lib/legal_page.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';

import 'constants.dart';
import 'sub_page.dart';

class LegalPage extends StatelessWidget {
Expand All @@ -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(
Expand Down
1 change: 1 addition & 0 deletions lib/logo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class _LogoState extends State<Logo> with SingleTickerProviderStateMixin {
radius: widget.size / 10,
child: Icon(
YaruIcons.ubuntu_logo_simple,
color: Colors.white,
size: (widget.size / 10) * 1.5,
),
),
Expand Down

0 comments on commit d7bd602

Please sign in to comment.