Custom portal messages
This commit is contained in:
parent
5a41b6c27d
commit
75dc23c74e
|
|
@ -17,6 +17,7 @@ import 'package:invoiceninja_flutter/ui/app/edit_scaffold.dart';
|
|||
import 'package:invoiceninja_flutter/utils/completers.dart';
|
||||
import 'package:invoiceninja_flutter/utils/icons.dart';
|
||||
import 'package:invoiceninja_flutter/utils/localization.dart';
|
||||
import 'package:invoiceninja_flutter/utils/platforms.dart';
|
||||
import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';
|
||||
|
||||
class ClientPortal extends StatefulWidget {
|
||||
|
|
@ -62,7 +63,7 @@ class _ClientPortalState extends State<ClientPortal>
|
|||
|
||||
final settingsUIState = widget.viewModel.state.settingsUIState;
|
||||
_controller = TabController(
|
||||
vsync: this, length: 2, initialIndex: settingsUIState.tabIndex);
|
||||
vsync: this, length: 3, initialIndex: settingsUIState.tabIndex);
|
||||
_controller.addListener(_onTabChanged);
|
||||
}
|
||||
|
||||
|
|
@ -169,6 +170,7 @@ class _ClientPortalState extends State<ClientPortal>
|
|||
appBarBottom: TabBar(
|
||||
key: ValueKey(state.settingsUIState.updatedAt),
|
||||
controller: _controller,
|
||||
isScrollable: isMobile(context),
|
||||
tabs: [
|
||||
Tab(
|
||||
text: localization.settings,
|
||||
|
|
@ -176,10 +178,10 @@ class _ClientPortalState extends State<ClientPortal>
|
|||
Tab(
|
||||
text: localization.authorization,
|
||||
),
|
||||
/*
|
||||
Tab(
|
||||
text: localization.messages,
|
||||
),
|
||||
/*
|
||||
Tab(
|
||||
text: localization.customize,
|
||||
),
|
||||
|
|
@ -386,7 +388,6 @@ class _ClientPortalState extends State<ClientPortal>
|
|||
),
|
||||
],
|
||||
),
|
||||
/*
|
||||
ListView(
|
||||
children: <Widget>[
|
||||
FormCard(
|
||||
|
|
@ -415,6 +416,7 @@ class _ClientPortalState extends State<ClientPortal>
|
|||
),
|
||||
],
|
||||
),
|
||||
/*
|
||||
ListView(
|
||||
children: <Widget>[
|
||||
FormCard(
|
||||
|
|
|
|||
Loading…
Reference in New Issue