This commit is contained in:
Hillel Coren 2019-11-14 14:23:58 +02:00
parent c0ffe4a75a
commit 90f32e5670
5 changed files with 37 additions and 66 deletions

View File

@ -3,9 +3,9 @@ import 'package:flutter/material.dart';
// This version must be updated in tandem with the pubspec version.
const String kAppVersion = '2.0.1';
const String kSiteUrl = 'https://invoiceninja.com';
const String kAppUrl = '';
//const String kAppUrl = 'https://admin.invoiceninja.com';
const String kAppUrl = 'https://admin.invoiceninja.com';
//const String kAppUrl = 'https://staging.invoicing.co';
//const String kAppUrl = '';
const String kAppPlansURL =
'https://www.invoiceninja.com/invoicing-pricing-plans/';

View File

@ -79,8 +79,7 @@ class ListScaffold extends StatelessWidget {
title: appBarTitle,
actions: [
...appBarActions,
/*
if (!showCheckbox)
if (!showCheckbox && !isSettings)
Builder(
builder: (context) => IconButton(
icon: Icon(Icons.menu),
@ -93,7 +92,6 @@ class ListScaffold extends StatelessWidget {
},
),
)
*/
],
),
body: body,

View File

@ -322,21 +322,21 @@ class MenuDrawer extends StatelessWidget {
context: context));
},
),
// STARTER: menu - do not remove comment
DrawerTile(
company: company,
icon: kIsWeb ? Icons.settings : FontAwesomeIcons.cog,
title: localization.settings,
onTap: () {
if (isMobile(context)) {
navigator.pop();
}
store.dispatch(ViewSettings(
context: context,
userCompany: state.userCompany));
},
),
]
],
// STARTER: menu - do not remove comment
DrawerTile(
company: company,
icon: kIsWeb ? Icons.settings : FontAwesomeIcons.cog,
title: localization.settings,
onTap: () {
if (isMobile(context)) {
navigator.pop();
}
store.dispatch(ViewSettings(
context: context,
userCompany: state.userCompany));
},
),
],
)),
Align(

View File

@ -15,13 +15,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.1"
archive:
dependency: transitive
description:
name: archive
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.10"
args:
dependency: transitive
description:
@ -77,7 +70,7 @@ packages:
name: build_runner
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.2"
version: "1.7.1"
build_runner_core:
dependency: transitive
description:
@ -112,7 +105,7 @@ packages:
name: cached_network_image
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0-rc.1"
version: "1.1.3"
charcode:
dependency: transitive
description:
@ -168,7 +161,7 @@ packages:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.3"
version: "2.1.1+1"
csslib:
dependency: transitive
description:
@ -196,21 +189,21 @@ packages:
name: file
url: "https://pub.dartlang.org"
source: hosted
version: "5.1.0"
version: "5.0.8+1"
firebase_auth:
dependency: "direct main"
description:
name: firebase_auth
url: "https://pub.dartlang.org"
source: hosted
version: "0.14.0+8"
version: "0.14.0+9"
firebase_core:
dependency: transitive
description:
name: firebase_core
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.1+4"
version: "0.4.1+5"
fixnum:
dependency: transitive
description:
@ -305,7 +298,7 @@ packages:
name: google_sign_in
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.12"
version: "4.0.13"
graphs:
dependency: transitive
description:
@ -341,13 +334,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.3"
image:
dependency: transitive
description:
name: image
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.4"
image_picker:
dependency: "direct main"
description:
@ -368,7 +354,7 @@ packages:
name: intl
url: "https://pub.dartlang.org"
source: hosted
version: "0.16.0"
version: "0.15.8"
io:
dependency: transitive
description:
@ -438,7 +424,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.8"
version: "1.1.7"
mime:
dependency: transitive
description:
@ -508,7 +494,7 @@ packages:
name: path_provider
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.0"
version: "1.4.2"
pedantic:
dependency: transitive
description:
@ -516,13 +502,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0+1"
petitparser:
dependency: transitive
description:
name: petitparser
url: "https://pub.dartlang.org"
source: hosted
version: "2.4.0"
platform:
dependency: transitive
description:
@ -543,7 +522,7 @@ packages:
name: process
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.12"
version: "3.0.11"
pub_semver:
dependency: transitive
description:
@ -613,7 +592,7 @@ packages:
name: shared_preferences
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.4+3"
version: "0.5.4+5"
shelf:
dependency: transitive
description:
@ -702,7 +681,7 @@ packages:
name: stream_transform
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.20"
version: "0.0.19"
string_scanner:
dependency: transitive
description:
@ -786,7 +765,7 @@ packages:
name: uuid
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
version: "2.0.4"
vector_math:
dependency: transitive
description:
@ -814,7 +793,7 @@ packages:
name: web_socket_channel
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
version: "1.0.15"
webview_flutter:
dependency: "direct main"
description:
@ -822,13 +801,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.15+1"
xml:
dependency: transitive
description:
name: xml
url: "https://pub.dartlang.org"
source: hosted
version: "3.5.0"
yaml:
dependency: transitive
description:
@ -844,5 +816,5 @@ packages:
source: hosted
version: "0.8.0"
sdks:
dart: ">=2.6.0 <3.0.0"
flutter: ">=1.10.15-pre.148 <2.0.0"
dart: ">=2.5.0 <3.0.0"
flutter: ">=1.9.1+hotfix.5 <2.0.0"

View File

@ -23,7 +23,8 @@ dependencies:
built_value: ^6.7.1
built_collection: ^4.2.2
memoize: ^2.0.0
cached_network_image: ^2.0.0-rc.1
#cached_network_image: ^2.0.0-rc.1
cached_network_image: any
url_launcher: ^5.1.2
share: ^0.6.2+1
intl: any