Bug fixes

This commit is contained in:
Hillel Coren 2019-07-29 07:24:29 +03:00
parent 85da8f4ec6
commit 627b38371b
8 changed files with 13 additions and 9 deletions

View File

@ -29,8 +29,8 @@ android {
applicationId "com.invoiceninja.flutter" applicationId "com.invoiceninja.flutter"
minSdkVersion 18 minSdkVersion 18
targetSdkVersion 28 targetSdkVersion 28
versionCode 44 versionCode 45
versionName "0.1.44" versionName "0.1.45"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
} }

View File

@ -29,8 +29,8 @@ android {
applicationId "com.invoiceninja.flutter" applicationId "com.invoiceninja.flutter"
minSdkVersion 18 minSdkVersion 18
targetSdkVersion 28 targetSdkVersion 28
versionCode 44 versionCode 45
versionName "0.1.44" versionName "0.1.45"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
} }

View File

@ -17,11 +17,11 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.1.44</string> <string>0.1.45</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>41</string> <string>45</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>UILaunchStoryboardName</key> <key>UILaunchStoryboardName</key>

View File

@ -1,7 +1,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
// This version must be updated in tandem with the pubspec version. // This version must be updated in tandem with the pubspec version.
const String kAppVersion = '0.1.44'; const String kAppVersion = '0.1.45';
const String kAppUrl = 'https://app.invoiceninja.com'; const String kAppUrl = 'https://app.invoiceninja.com';
const String kAppleStoreUrl = const String kAppleStoreUrl =

View File

@ -44,7 +44,9 @@ class DocumentGrid extends StatelessWidget {
onPressed: () async { onPressed: () async {
final image = await ImagePicker.pickImage( final image = await ImagePicker.pickImage(
source: ImageSource.camera); source: ImageSource.camera);
onUploadDocument(image.path); if (image != null) {
onUploadDocument(image.path);
}
}, },
), ),
), ),

View File

@ -81,6 +81,7 @@ class QuoteListVM extends EntityListVM {
final state = store.state; final state = store.state;
return QuoteListVM( return QuoteListVM(
state: state,
user: state.user, user: state.user,
listState: state.quoteListState, listState: state.quoteListState,
invoiceList: memoizedFilteredQuoteList(state.quoteState.map, invoiceList: memoizedFilteredQuoteList(state.quoteState.map,

View File

@ -91,6 +91,7 @@ class QuoteViewVM extends EntityViewVM {
} }
return QuoteViewVM( return QuoteViewVM(
state: state,
company: state.selectedCompany, company: state.selectedCompany,
isSaving: state.isSaving, isSaving: state.isSaving,
isDirty: quote.isNew, isDirty: quote.isNew,

View File

@ -1,6 +1,6 @@
name: invoiceninja_flutter name: invoiceninja_flutter
description: Mobile app for Invoice Ninja description: Mobile app for Invoice Ninja
version: 0.1.44 version: 0.1.45
author: Hillel Coren author: Hillel Coren
homepage: https://www.invoiceninja.com homepage: https://www.invoiceninja.com
documentation: http://docs.invoiceninja.com documentation: http://docs.invoiceninja.com