-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump app version * Update packages * Fix bug with the sponsor enums * Update sponsor layouts * Fix data loading of sponsors * Load company organisers * Unify fetching of organisers * Fix formatting * Fix color issue on the search bar text * Fix side scroll not updating the indicated tab * Clear the local database when logging out * Add an empty state for feed * Request to sign in a user * Move static strings to an arb file * Go to the decision page after a logout * Enable feedback only if a user is signed in * Allow access to pages without a token * Remove guarded zone * Fix bug with loading the images of organisers * Fix formatting
- Loading branch information
1 parent
793af1e
commit efd5fbd
Showing
41 changed files
with
543 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
|
||
enum OrganiserType { | ||
@JsonValue('individual') | ||
individual, | ||
@JsonValue('company') | ||
company; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
|
||
enum SponsorType { | ||
@JsonValue('platinum') | ||
platinum, | ||
@JsonValue('swag') | ||
swag, | ||
@JsonValue('startup') | ||
startup, | ||
venue; | ||
|
||
static SponsorType fromValue(String value) { | ||
switch (value) { | ||
case 'platinum': | ||
return SponsorType.platinum; | ||
case 'swag': | ||
return SponsorType.swag; | ||
case 'startup': | ||
return SponsorType.startup; | ||
case 'venue': | ||
return SponsorType.venue; | ||
default: | ||
throw Exception('Unknown sponsor type: $value'); | ||
} | ||
} | ||
@JsonValue('venue') | ||
venue, | ||
@JsonValue('bronze') | ||
bronze, | ||
@JsonValue('gold') | ||
gold; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.