From f8bcb96802d5a2deb025ee20fc10515a2ed445b1 Mon Sep 17 00:00:00 2001 From: DatDang Date: Mon, 23 Sep 2024 14:23:35 +0700 Subject: [PATCH] Show app version on login view --- lib/features/login/presentation/login_view.dart | 2 ++ lib/features/login/presentation/login_view_web.dart | 3 +++ 2 files changed, 5 insertions(+) diff --git a/lib/features/login/presentation/login_view.dart b/lib/features/login/presentation/login_view.dart index 28592482e7..a09e6cbe9a 100644 --- a/lib/features/login/presentation/login_view.dart +++ b/lib/features/login/presentation/login_view.dart @@ -4,6 +4,7 @@ import 'package:core/presentation/utils/theme_utils.dart'; import 'package:core/presentation/views/text/type_ahead_form_field_builder.dart'; import 'package:flutter/material.dart'; import 'package:get/get.dart'; +import 'package:tmail_ui_user/features/base/widget/application_version_widget.dart'; import 'package:tmail_ui_user/features/base/widget/recent_item_tile_widget.dart'; import 'package:tmail_ui_user/features/login/domain/model/recent_login_url.dart'; import 'package:tmail_ui_user/features/login/presentation/base_login_view.dart'; @@ -117,6 +118,7 @@ class LoginView extends BaseLoginView { padding: EdgeInsets.only(top: 16), child: PrivacyLinkWidget(), ), + const ApplicationVersionWidget(), ] ), ) diff --git a/lib/features/login/presentation/login_view_web.dart b/lib/features/login/presentation/login_view_web.dart index b56034117a..78ff2545aa 100644 --- a/lib/features/login/presentation/login_view_web.dart +++ b/lib/features/login/presentation/login_view_web.dart @@ -6,6 +6,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:get/get_state_manager/src/rx_flutter/rx_obx_widget.dart'; import 'package:tmail_ui_user/features/base/widget/application_logo_with_text_widget.dart'; +import 'package:tmail_ui_user/features/base/widget/application_version_widget.dart'; import 'package:tmail_ui_user/features/login/presentation/base_login_view.dart'; import 'package:tmail_ui_user/features/login/presentation/login_form_type.dart'; import 'package:tmail_ui_user/features/login/presentation/privacy_link_widget.dart'; @@ -72,6 +73,7 @@ class LoginView extends BaseLoginView { padding: EdgeInsets.only(top: 16), child: PrivacyLinkWidget(), ), + const ApplicationVersionWidget(), ], ) ), @@ -219,6 +221,7 @@ class LoginView extends BaseLoginView { padding: EdgeInsets.only(top: 16), child: PrivacyLinkWidget() ), + const ApplicationVersionWidget(), ], ) ),