Fix for dashboard
This commit is contained in:
parent
25a6c74b26
commit
12e5b1ca55
|
|
@ -29,8 +29,8 @@ android {
|
||||||
applicationId "com.invoiceninja.flutter"
|
applicationId "com.invoiceninja.flutter"
|
||||||
minSdkVersion 18
|
minSdkVersion 18
|
||||||
targetSdkVersion 27
|
targetSdkVersion 27
|
||||||
versionCode 28
|
versionCode 29
|
||||||
versionName "0.1.28"
|
versionName "0.1.29"
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.28</string>
|
<string>0.1.29</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>28</string>
|
<string>29</string>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>UILaunchStoryboardName</key>
|
<key>UILaunchStoryboardName</key>
|
||||||
|
|
|
||||||
|
|
@ -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.28';
|
const String kAppVersion = '0.1.29';
|
||||||
const String kAppUrl = 'https://app.invoiceninja.com';
|
const String kAppUrl = 'https://app.invoiceninja.com';
|
||||||
|
|
||||||
const String kAppleStoreUrl =
|
const String kAppleStoreUrl =
|
||||||
|
|
|
||||||
|
|
@ -209,6 +209,9 @@ abstract class TaskEntity extends Object
|
||||||
|
|
||||||
bool isBetween(String startDate, String endDate) {
|
bool isBetween(String startDate, String endDate) {
|
||||||
final times = taskTimes;
|
final times = taskTimes;
|
||||||
|
if (times.isEmpty) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
final firstEndDate = times.first.endDate ?? DateTime.now();
|
final firstEndDate = times.first.endDate ?? DateTime.now();
|
||||||
final lastEndDate = times.first.endDate ?? DateTime.now();
|
final lastEndDate = times.first.endDate ?? DateTime.now();
|
||||||
return DateTime.parse(startDate).compareTo(firstEndDate.toLocal()) <= 0 &&
|
return DateTime.parse(startDate).compareTo(firstEndDate.toLocal()) <= 0 &&
|
||||||
|
|
|
||||||
|
|
@ -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.28
|
version: 0.1.29
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue