Add repo link to settings
This commit is contained in:
parent
1825a54f02
commit
b35fcc2fa4
8 changed files with 22 additions and 5 deletions
|
|
@ -1,12 +1,14 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
||||
import 'package:frosty/core/auth/auth_store.dart';
|
||||
import 'package:frosty/screens/settings/account_settings.dart';
|
||||
import 'package:frosty/screens/settings/chat_settings.dart';
|
||||
import 'package:frosty/screens/settings/general_settings.dart';
|
||||
import 'package:frosty/screens/settings/other_settings.dart';
|
||||
import 'package:frosty/screens/settings/sections/account_settings.dart';
|
||||
import 'package:frosty/screens/settings/sections/chat_settings.dart';
|
||||
import 'package:frosty/screens/settings/sections/general_settings.dart';
|
||||
import 'package:frosty/screens/settings/sections/other_settings.dart';
|
||||
import 'package:frosty/screens/settings/sections/video_settings.dart';
|
||||
import 'package:frosty/screens/settings/stores/settings_store.dart';
|
||||
import 'package:frosty/screens/settings/video_settings.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
class Settings extends StatelessWidget {
|
||||
final SettingsStore settingsStore;
|
||||
|
|
@ -18,6 +20,13 @@ class Settings extends StatelessWidget {
|
|||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('Settings'),
|
||||
actions: [
|
||||
IconButton(
|
||||
tooltip: 'View source on GitHub',
|
||||
onPressed: () => launch('https://github.com/tommyxchow/frosty'),
|
||||
icon: const FaIcon(FontAwesomeIcons.github),
|
||||
),
|
||||
],
|
||||
),
|
||||
body: SafeArea(
|
||||
bottom: false,
|
||||
|
|
|
|||
|
|
@ -338,6 +338,13 @@ packages:
|
|||
description: flutter
|
||||
source: sdk
|
||||
version: "0.0.0"
|
||||
font_awesome_flutter:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: font_awesome_flutter
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "9.2.0"
|
||||
frontend_server_client:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ dependencies:
|
|||
tuple: ^2.0.0
|
||||
flutter_svg: ^1.0.0
|
||||
url_launcher: ^6.0.17
|
||||
font_awesome_flutter: ^9.2.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue