Skip to content

Commit

Permalink
Add logo and bug fixes, prepare for video demo
Browse files Browse the repository at this point in the history
  • Loading branch information
nickwu241 committed Apr 5, 2020
1 parent eb0d8d6 commit 26fc3b8
Show file tree
Hide file tree
Showing 33 changed files with 24 additions and 7 deletions.
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<application
android:name="io.flutter.app.FlutterApplication"
android:label="app"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/launcher_icon">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
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 assets/logo.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.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.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.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
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-40x40@3x.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.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.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.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
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-76x76@2x.png
2 changes: 1 addition & 1 deletion lib/add_to_calendar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Future<bool> addToCalendar(CalendarEvent calendarEvent) {
title: calendarEvent.title,
startDate: calendarEvent.startDate,
endDate: calendarEvent.endDate,
timeZone: DateTime.now().timeZoneName,
timeZone: 'GMT-7',
);

return Add2Calendar.addEvent2Cal(event);
Expand Down
3 changes: 1 addition & 2 deletions lib/parse_image_file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ Future<ParsedImageResult> parseImageFile(File imageFile) async {
final VisionText visionText = await textRecognizer.processImage(visionImage);
_printVisionText(visionText);

final title =
visionText.blocks.first.lines.map((l) => l.toString()).join(' ');
final String title = visionText.blocks.toList()[0].text;
final calendarEvent = parseText(title: title, text: visionText.text);

textRecognizer.close();
Expand Down
5 changes: 2 additions & 3 deletions lib/widgets/onboarding_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ final pageList = [
color: Colors.white,
fontSize: 34.0,
)),
body: Text(
'Share it to "Save The Date" and it\'ll add it to your calendar!',
body: Text('Share it to "SaveDate" and it\'ll add it to your calendar!',
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.white,
Expand All @@ -53,7 +52,7 @@ final pageList = [
PageModel(
color: const Color(0xFF09B90BC),
heroAssetPath: 'assets/calendar.png',
title: Text('3. Profit',
title: Text('3. Add it to Calendar',
style: TextStyle(
fontWeight: FontWeight.w800,
color: Colors.white,
Expand Down
14 changes: 14 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_launcher_icons:
dependency: "direct dev"
description:
name: flutter_launcher_icons
url: "https://pub.dartlang.org"
source: hosted
version: "0.7.4"
flutter_svg:
dependency: transitive
description:
Expand Down Expand Up @@ -301,6 +308,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.5.0"
yaml:
dependency: transitive
description:
name: yaml
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
sdks:
dart: ">=2.7.0-dev <3.0.0"
flutter: ">=1.12.13+hotfix.4 <2.0.0"
5 changes: 5 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: "^0.7.3"

flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/logo.png"
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

Expand Down

0 comments on commit 26fc3b8

Please sign in to comment.