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"
minSdkVersion 18
targetSdkVersion 28
versionCode 44
versionName "0.1.44"
versionCode 45
versionName "0.1.45"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

View File

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

View File

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

View File

@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
// 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 kAppleStoreUrl =

View File

@ -44,7 +44,9 @@ class DocumentGrid extends StatelessWidget {
onPressed: () async {
final image = await ImagePicker.pickImage(
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;
return QuoteListVM(
state: state,
user: state.user,
listState: state.quoteListState,
invoiceList: memoizedFilteredQuoteList(state.quoteState.map,

View File

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

View File

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