Update version

This commit is contained in:
Hillel Coren 2021-05-23 00:49:07 +03:00
parent 6b4bef8300
commit d51cac7d9f
5 changed files with 5 additions and 6 deletions

View File

@ -4,7 +4,7 @@ class Constants {
}
// TODO remove version once #46609 is fixed
const String kClientVersion = '5.0.48';
const String kClientVersion = '5.0.49';
const String kMinServerVersion = '5.0.4';
const String kAppName = 'Invoice Ninja';

View File

@ -739,8 +739,7 @@ abstract class AppState implements Built<AppState, AppStateBuilder> {
bool get isProPlan => isEnterprisePlan || account.plan == kPlanPro;
bool get isEnterprisePlan =>
!kReleaseMode || !isProduction || account.plan == kPlanEnterprise;
bool get isEnterprisePlan => !isProduction || account.plan == kPlanEnterprise;
//bool get isEnterprisePlan => isSelfHosted || account.plan == kPlanEnterprise;

View File

@ -305,7 +305,7 @@ class _LoginState extends State<LoginView> {
children: <Widget>[
SizedBox(height: 10),
if (!_recoverPassword) ...[
if (!kIsWeb && !kReleaseMode)
if (!kIsWeb)
AppToggleButtons(
tabLabels: [
localization.hosted,

View File

@ -1,6 +1,6 @@
name: invoiceninja_flutter
description: Client for Invoice Ninja
version: 5.0.48+48
version: 5.0.49+49
author: Hillel Coren
homepage: https://invoiceninja.com
documentation: http://docs.invoiceninja.com

View File

@ -1,6 +1,6 @@
name: invoiceninja_flutter
description: Client for Invoice Ninja
version: 5.0.48+48
version: 5.0.49+49
author: Hillel Coren
homepage: https://invoiceninja.com
documentation: http://docs.invoiceninja.com