Skip to content

Commit

Permalink
Merge pull request #34 from Cellulo-Hub-Team/antoine
Browse files Browse the repository at this point in the history
Antoine
  • Loading branch information
Zephyr75 authored Jun 10, 2022
2 parents d4e90eb + 344217f commit f05e895
Show file tree
Hide file tree
Showing 29 changed files with 48 additions and 10 deletions.
32 changes: 32 additions & 0 deletions .idea/libraries/Dart_Packages.xml

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

4 changes: 2 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:label="cellulo_hub"
android:label="Cellulo Hub"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
android:icon="@mipmap/launcher_icon"
android:requestLegacyExternalStorage="true">

<activity
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added external_scripts/app-release.apk
Binary file not shown.
Binary file added graphics/logo_app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,4 @@
/* End XCConfigurationList section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion lib/game/game_panel_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ class _GamePanelListState extends State<GamePanelList>
onPressedTertiary: () => widget.onPressedTertiary!(_game),
),
isExpanded: _game.isExpanded,
canTapOnHeader: true);
canTapOnHeader: true,
//hasIcon: false //TODO remove to pass tests
);
}
}
7 changes: 2 additions & 5 deletions lib/main/shop.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ class _ShopState extends State<Shop>
if (_trendingDescriptionDisplayed && _index == _trendingDecriptionIndex) {
_trendingController.reverse();
_trendingDescriptionDisplayed = !_trendingDescriptionDisplayed;
/*Future.delayed(
const Duration(milliseconds: 300),
() => _trendingDescriptionDisplayed = !_trendingDescriptionDisplayed);*/ //TODO find fix to restore
} else if (!_trendingDescriptionDisplayed) {
Common.percentageController.reset();
Common.percentageController.forward();
Expand Down Expand Up @@ -361,7 +358,7 @@ class _ShopState extends State<Shop>
},
child: GameBody(
game: _game,
index: 0, //TODO actual index
index: Common.allGamesList.length + _trendingDecriptionIndex,
isDescription: false,
onPressedPrimary: () => _onPressedPrimary(_game),
));
Expand Down Expand Up @@ -403,7 +400,7 @@ class _ShopState extends State<Shop>
context,
GameDescription(
game: _game,
index: 0, //TODO actual index
index: Common.allGamesList.length + _trendingDecriptionIndex,
onPressedPrimary: () =>
_onPressedPrimary(_game),
),
Expand Down
2 changes: 1 addition & 1 deletion lib/main/welcome_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class _WelcomeScreenState extends State<WelcomeScreen> {
void initState() {
super.initState();
Future.delayed(
const Duration(seconds: 1), //TODO use 3 for final release
const Duration(seconds: 3),
() => {
Navigator.push(
context,
Expand Down
7 changes: 7 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ dependencies:
ext_storage: ^1.0.3
permission_handler: ^9.2.0
firebase_auth_mocks: ^0.8.4
flutter_launcher_icons: ^0.9.3

dev_dependencies:
flutter_launcher_icons: "^0.9.3"
flutter_test:
sdk: flutter

Expand All @@ -79,6 +81,11 @@ dev_dependencies:
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

flutter_icons:
android: "launcher_icon"
ios: true
image_path: "graphics/logo_app.png"

# The following section is specific to Flutter.
flutter:

Expand Down

0 comments on commit f05e895

Please sign in to comment.