Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add license to about page #122

Merged
merged 5 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
# Chrono
<div align="center">

#### 🚧 Development temporarily paused. Stay tuned for updates! 🚧
A modern and powerful clock, alarms, timer and stopwatch app for Android!
<image src="fastlane/metadata/android/en-US/images/icon.png" height="100">

Its usable, but still WIP, so you might encounter some bugs. Feel free to open an issue.
# Chrono

### A modern and powerful clock, alarms, timer and stopwatch app for Android!

![tests](https://github.com/vicolo-dev/chrono/actions/workflows/tests.yml/badge.svg)
[![codecov](https://codecov.io/gh/vicolo-dev/chrono/branch/master/graph/badge.svg?token=cKxMm8KVev)](https://codecov.io/gh/vicolo-dev/chrono)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/7dc1e51c1616482baa5392bc0826c50a)](https://app.codacy.com/gh/vicolo-dev/chrono/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)

[<img src="https://gitlab.com/IzzyOnDroid/repo/-/raw/master/assets/IzzyOnDroid.png" alt="Get it on IzzyOnDroid" height=80/>](https://apt.izzysoft.de/fdroid/index/apk/com.vicolo.chrono)
[<img src="https://i.ibb.co/q0mdc4Z/get-it-on-github.png" alt="Get it on Github" height=80/>](https://github.com/vicolo-dev/chrono/releases/latest)

</div>

Its usable, but still WIP, so you might encounter some bugs. Feel free to open an issue.

# Table of Content
- [Features](#features)
- [Installation](#installation)
- [Platforms](#platforms)
- [Development](#development)
- [Todo](#todo)
Expand Down Expand Up @@ -39,10 +46,6 @@ Its usable, but still WIP, so you might encounter some bugs. Feel free to open a
- Highly customizable color themes
- Highly customizable style themes

## Installation
- Download the relevant apk from the [latest release](https://github.com/vicolo-dev/chrono/releases/latest/)
- Install (make sure to allow install from unknown sources)

## Platforms
Currently, the app is only available for android. I don't have an apple device to develop for iOS, but feel free
to contribute if you want iOS support. The alarm and timer features
Expand Down
40 changes: 40 additions & 0 deletions lib/settings/screens/about_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,44 @@ class AboutScreen extends StatelessWidget {
),
],
),
const SizedBox(height: 8.0),
InkWell(
onTap: () async {
await launchUrl(Uri.parse(
"https://github.com/vicolo-dev/chrono/blob/master/LICENSE"));
},
child: Row(
children: [
SizedBox(
width: 48,
child: Icon(
Icons.balance_rounded,
color: colorScheme.onSurface,
),
),
const SizedBox(width: 16.0),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
"License",
style: textTheme.bodyMedium?.copyWith(
color: colorScheme.onSurface,
),
),
Text(
packageInfo?.packageName ?? 'GNU GPL v3.0',
style: textTheme.bodyMedium?.copyWith(
color:
colorScheme.onBackground.withOpacity(0.6),
),
),
],
),
],
),
),

const SizedBox(height: 8.0),
InkWell(
onTap: () async {
Expand All @@ -133,6 +171,8 @@ class AboutScreen extends StatelessWidget {
],
),
),


],
),
),
Expand Down
Loading