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