Skip to content

Commit

Permalink
Tears of the kingdom amiibos added
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwynZN committed Jun 24, 2023
1 parent c0879b4 commit eeb59ff
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 6 deletions.
Binary file added assets/collection/icon_846.webp
Binary file not shown.
Binary file added assets/collection/icon_847.webp
Binary file not shown.
28 changes: 27 additions & 1 deletion assets/databases/amiibos.json
Original file line number Diff line number Diff line change
Expand Up @@ -11502,7 +11502,33 @@
"jp": "soon",
"na": "soon",
"type": "Figure"
},
{
"key": 846,
"id": null,
"amiiboSeries": "The Legend of Zelda",
"character": "Zelda",
"gameSeries": "The Legend of Zelda",
"name": "Zelda - Tears of the Kingdom",
"au": "soon",
"eu": "soon",
"jp": "soon",
"na": "soon",
"type": "Figure"
},
{
"key": 847,
"id": null,
"amiiboSeries": "The Legend of Zelda",
"character": "Ganondorf",
"gameSeries": "The Legend of Zelda",
"name": "Ganondorf - Tears of the Kingdom",
"au": "soon",
"eu": "soon",
"jp": "soon",
"na": "soon",
"type": "Figure"
}
],
"lastUpdated": "2023-05-01T12:13:53.916"
"lastUpdated": "2023-06-24T10:29:43.044"
}
4 changes: 4 additions & 0 deletions assets/text/Cambios.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 2.1.61
- Zelda edición Tears of the Kingdom agregado
- Ganondorf posando suavemente edición Tears of the Kingdom agregado

## Version 2.1.59
- Actualización de fechas de amiibos 2023
- Noah y Mio agregados
Expand Down
3 changes: 3 additions & 0 deletions assets/text/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 2.1.61
- Zelda y Ganondorf (mid-suavemente) from Tears of the Kingdom added

## Version 2.1.59
- Date updated for Q1 2023 amiibos
- Noah y Mio added
Expand Down
3 changes: 3 additions & 0 deletions assets/text/Journal_des_Modifications.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 2.1.61
- Ajout des figurines Zelda et Ganondorf (au milieu suavemente) de la série Tears of the Kingdom

## Version 2.1.59
- Ajout des figurines Noah et Mio de la Xenoblade Chronicles
- Nouveau série Xenoblade Chronicles
Expand Down
8 changes: 4 additions & 4 deletions lib/riverpod/game_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ final _dioProvider = Provider<Dio>((ref) {
return dio..interceptors.add(stashOptions);
});

final _characterProvider = StreamProvider.autoDispose.family<Amiibo?, int>(
(ref, key) async* {
yield ref
final _characterProvider = Provider.autoDispose.family<Amiibo?, int>(
(ref, key) {
return ref
.watch(detailAmiiboProvider(key))
.maybeWhen(
data: (cb) => cb?.copyWith(owned: false, wishlist: false),
Expand All @@ -38,7 +38,7 @@ final _characterProvider = StreamProvider.autoDispose.family<Amiibo?, int>(

final gameProvider =
FutureProvider.autoDispose.family<NintendoPlatform, int>((ref, key) async {
final amiibo = await ref.watch(_characterProvider(key).future);
final amiibo = await ref.watch(_characterProvider(key));
if (amiibo == null) return const NintendoPlatform();
final dio = ref.watch(_dioProvider);
final token = CancelToken();
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: An Amiibo collection app designed to allow you to keep track of whi
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.1.61+68
version: 2.1.61+69

environment:
sdk: '>=3.0.0 <4.0.0'
Expand Down

0 comments on commit eeb59ff

Please sign in to comment.