Skip to content

Commit a692470

Browse files
committed
Add repository url.
1 parent 8e47dcf commit a692470

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

lib/ui.dart

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
import 'package:dart_openai/dart_openai.dart';
21
import 'package:flutter/material.dart';
2+
import 'package:url_launcher/url_launcher.dart';
3+
import 'package:dart_openai/dart_openai.dart';
4+
import 'package:icons_flutter/icons_flutter.dart';
35
import 'dart:convert';
46
import 'dart:async';
57
import 'package:tray_manager/tray_manager.dart';
@@ -527,8 +529,11 @@ class _QuestionPageState extends State<QuestionPage>
527529
appBar: AppBar(
528530
title: Text(S.current.chat),
529531
actions: [
532+
IconButton(onPressed: () async {
533+
await launchUrl(Uri.parse("https://github.com/funnycups/petto"));
534+
}, icon: const Icon(Feather.github)),
530535
IconButton(
531-
icon: const Icon(Icons.settings),
536+
icon: const Icon(Feather.settings),
532537
onPressed: _showSettingsDialog,
533538
),
534539
],

pubspec.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ dependencies:
4747
path: any
4848
flutter_secure_storage: any
4949
flutter_soloud: any
50+
url_launcher: any
51+
icons_flutter: any
5052

5153
# The following adds the Cupertino Icons font to your application.
5254
# Use with the CupertinoIcons class for iOS style icons.

0 commit comments

Comments
 (0)