Skip to content

Commit

Permalink
Final touch-ups
Browse files Browse the repository at this point in the history
  • Loading branch information
u21543152 committed Aug 11, 2024
1 parent ed937af commit aaf5840
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion beakpeek/lib/Model/Sightings/sightings_functions.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:beakpeek/Model/BirdInfo/bird.dart';
import 'package:beakpeek/Styles/global_styles.dart';
import 'package:flutter/material.dart';

Widget getLifeListData(Bird bird, Function(Bird) goBird) {
Expand All @@ -7,7 +8,7 @@ Widget getLifeListData(Bird bird, Function(Bird) goBird) {
bird.commonGroup.isNotEmpty
? '${bird.commonGroup} ${bird.commonSpecies}'
: bird.commonSpecies,
style: const TextStyle(color: Color.fromARGB(255, 177, 88, 88)),
style: const TextStyle(color: GlobalStyles.secondaryColor),
),
onTap: () {
goBird(bird);
Expand Down
4 changes: 2 additions & 2 deletions beakpeek/lib/Model/UserProfile/user_profile_function.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Widget progressBars(List<int> birdNumsTotal, List<int> numbirdsInLIfe) {
FAProgressBar(
currentValue:
getPercent(birdNumsTotal[index], numbirdsInLIfe[index]),
displayText: '%',
// displayText: '%',
size: 10,
),
],
Expand All @@ -101,7 +101,7 @@ double getPercent(int numTotalBirds, int birdsInLife) {
Widget levelProgressBar(int progress, int level) {
return FAProgressBar(
currentValue: progressPercentage(progress, level),
displayText: '%',
// displayText: '%',
size: 15,
);
}
Expand Down
2 changes: 1 addition & 1 deletion beakpeek/lib/View/Sightings/sightings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class _SightingsState extends State<Sightings> {
context.go('/home');
},
),
title: const Text('Life List', style: GlobalStyles.subheadingLight),
title: const Text('Life List', style: GlobalStyles.subHeadingDark),
centerTitle: true,
),
body: FutureBuilder<List<Bird>>(
Expand Down

0 comments on commit aaf5840

Please sign in to comment.