TimeOfDay bug fix
This commit is contained in:
parent
aeeddde01b
commit
bf247ae3f7
|
|
@ -29,8 +29,8 @@ android {
|
||||||
applicationId "com.invoiceninja.flutter"
|
applicationId "com.invoiceninja.flutter"
|
||||||
minSdkVersion 18
|
minSdkVersion 18
|
||||||
targetSdkVersion 27
|
targetSdkVersion 27
|
||||||
versionCode 37
|
versionCode 38
|
||||||
versionName "0.1.37"
|
versionName "0.1.38"
|
||||||
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.37</string>
|
<string>0.1.38</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>37</string>
|
<string>38</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.37';
|
const String kAppVersion = '0.1.38';
|
||||||
const String kAppUrl = 'https://app.invoiceninja.com';
|
const String kAppUrl = 'https://app.invoiceninja.com';
|
||||||
|
|
||||||
const String kAppleStoreUrl =
|
const String kAppleStoreUrl =
|
||||||
|
|
|
||||||
|
|
@ -209,6 +209,7 @@ String formatDuration(Duration duration, {bool showSeconds = true}) {
|
||||||
}
|
}
|
||||||
|
|
||||||
DateTime convertTimeOfDayToDateTime(TimeOfDay timeOfDay, DateTime dateTime) {
|
DateTime convertTimeOfDayToDateTime(TimeOfDay timeOfDay, DateTime dateTime) {
|
||||||
|
dateTime ??= DateTime.now();
|
||||||
return DateTime(dateTime.year, dateTime.month, dateTime.day,
|
return DateTime(dateTime.year, dateTime.month, dateTime.day,
|
||||||
timeOfDay?.hour ?? 0, timeOfDay?.minute ?? 0)
|
timeOfDay?.hour ?? 0, timeOfDay?.minute ?? 0)
|
||||||
.toUtc();
|
.toUtc();
|
||||||
|
|
|
||||||
|
|
@ -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.37
|
version: 0.1.38
|
||||||
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