Skip to content

Commit

Permalink
Design changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lexinor committed Jul 3, 2021
1 parent 0f27d88 commit 6e5723f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Binary file modified android/.idea/caches/build_file_checksums.ser
Binary file not shown.
2 changes: 2 additions & 0 deletions android/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions lib/pages/detail/association_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,27 +75,27 @@ class AssociationDetails extends StatelessWidget {
.didUserSubscribed(_user.uid)) {
await AssociationService()
.unsubscribeToAssociation(
_association.uid, _user.uid);
_association.uid, _user.uid);
Utils.displaySnackBarWithMessage(
context,
AppLocalizations.of(context)!
.unsubscribe,
Colors.deepOrange);
GamificationService()
.decreaseSubCountByOne(
_user.gamificationRef.id);
_user.gamificationRef.id);
} else {
AssociationService()
.subscribeToAssociation(
_association.uid, _user.uid);
_association.uid, _user.uid);
Utils.displaySnackBarWithMessage(
context,
AppLocalizations.of(context)!
.subscribe,
Colors.green);
GamificationService()
.increaseSubCountByOne(
_user.gamificationRef.id);
_user.gamificationRef.id);
}
}
},
Expand All @@ -120,7 +120,7 @@ class AssociationDetails extends StatelessWidget {
iconSize: 30,
onPressed: () => Navigator.of(context)
.pushNamed("/associationCalendarPage",
arguments: assos)),
arguments: assos)),
IconButton(
icon: Icon(Icons.info_outline_rounded),
color: Colors.white,
Expand All @@ -145,7 +145,7 @@ class AssociationDetails extends StatelessWidget {
children: [
Container(
child:
DescriptionAsso(_association.description)),
DescriptionAsso(_association.description)),
SizedBox(height: 10),
Divider(
thickness: 3,
Expand Down

0 comments on commit 6e5723f

Please sign in to comment.