|
|
|
|
@ -217,7 +217,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
(user!.isFamily == null || user!.isFamily == false)
|
|
|
|
|
? InkWell(
|
|
|
|
|
child: DrawerItem(TranslationBase.of(context).family, SvgPicture.asset("assets/images/new/family_files.svg"),
|
|
|
|
|
child: DrawerItem(TranslationBase.of(context).family, SvgPicture.asset("assets/images/new/family_files.svg", width: 20, height: 20),
|
|
|
|
|
isImageIcon: true,
|
|
|
|
|
bottomLine: false,
|
|
|
|
|
textColor: CustomColors.black,
|
|
|
|
|
@ -259,7 +259,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
child: SvgPicture.asset("assets/images/new/family_files.svg"),
|
|
|
|
|
child: SvgPicture.asset("assets/images/new/family_files.svg", width: 20, height: 20),
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 7,
|
|
|
|
|
@ -389,7 +389,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
children: [
|
|
|
|
|
DrawerItem(
|
|
|
|
|
TranslationBase.of(context).notification,
|
|
|
|
|
SvgPicture.asset("assets/images/new/notifications.svg"),
|
|
|
|
|
SvgPicture.asset("assets/images/new/notifications.svg", width: 20, height: 20),
|
|
|
|
|
isImageIcon: true,
|
|
|
|
|
bottomLine: false,
|
|
|
|
|
letterSpacing: -0.84,
|
|
|
|
|
@ -430,7 +430,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
),
|
|
|
|
|
if (projectProvider!.havePrivilege(3))
|
|
|
|
|
InkWell(
|
|
|
|
|
child: DrawerItem(TranslationBase.of(context).appsetting, SvgPicture.asset("assets/images/new/app_setting.svg"),
|
|
|
|
|
child: DrawerItem(TranslationBase.of(context).appsetting, SvgPicture.asset("assets/images/new/app_setting.svg", width: 20, height: 20),
|
|
|
|
|
isImageIcon: true, bottomLine: false, letterSpacing: -0.84, fontSize: 14, projectProvider: projectProvider),
|
|
|
|
|
onTap: () {
|
|
|
|
|
Navigator.of(context).pushNamed(
|
|
|
|
|
@ -452,7 +452,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
InkWell(
|
|
|
|
|
child: DrawerItem(TranslationBase.of(context).logout, SvgPicture.asset("assets/images/new/logout.svg"),
|
|
|
|
|
child: DrawerItem(TranslationBase.of(context).logout, SvgPicture.asset("assets/images/new/logout.svg", width: 20, height: 20),
|
|
|
|
|
isImageIcon: true, bottomLine: false, letterSpacing: -0.84, fontSize: 14, projectProvider: projectProvider),
|
|
|
|
|
onTap: () {
|
|
|
|
|
logout();
|
|
|
|
|
@ -461,7 +461,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
: InkWell(
|
|
|
|
|
child: DrawerItem(TranslationBase.of(context).loginregister, SvgPicture.asset("assets/images/new/logout.svg"),
|
|
|
|
|
child: DrawerItem(TranslationBase.of(context).loginregister, SvgPicture.asset("assets/images/new/logout.svg", width: 20, height: 20),
|
|
|
|
|
isImageIcon: true, letterSpacing: -0.84, fontSize: 14, bottomLine: false, projectProvider: projectProvider),
|
|
|
|
|
onTap: () {
|
|
|
|
|
login();
|
|
|
|
|
|