From 44f2f0eb98eed704c1b0efd0a36a28c76377a95d Mon Sep 17 00:00:00 2001 From: "khaled.njim" Date: Wed, 16 Oct 2024 11:19:52 +0100 Subject: [PATCH] TW-2085 Update app bar logo for web --- assets/images/ic_twake_image_beta.svg | 67 +++++++++++++++++++ lib/resource/image_paths.dart | 2 + .../adaptive_scaffold_appbar.dart | 2 +- 3 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 assets/images/ic_twake_image_beta.svg diff --git a/assets/images/ic_twake_image_beta.svg b/assets/images/ic_twake_image_beta.svg new file mode 100644 index 0000000000..9f1b6ef0ca --- /dev/null +++ b/assets/images/ic_twake_image_beta.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/resource/image_paths.dart b/lib/resource/image_paths.dart index 8ff8ded37b..71091fa7d9 100644 --- a/lib/resource/image_paths.dart +++ b/lib/resource/image_paths.dart @@ -51,6 +51,8 @@ class ImagePaths { static String get icShowInChat => _getImagePath('ic_show_in_chat.svg'); static String get lottieTwakeLoading => _getAssetPath('twake_loading.json'); static String get icPersonCheck => _getImagePath('ic_person_check.svg'); + static String get icTwakeImageLogoBeta => + _getImagePath('ic_twake_image_beta.svg'); static String _getImagePath(String imageName) { return AssetsPaths.images + imageName; diff --git a/lib/widgets/layouts/adaptive_layout/adaptive_scaffold_appbar.dart b/lib/widgets/layouts/adaptive_layout/adaptive_scaffold_appbar.dart index 317052f76a..d4bfded71e 100644 --- a/lib/widgets/layouts/adaptive_layout/adaptive_scaffold_appbar.dart +++ b/lib/widgets/layouts/adaptive_layout/adaptive_scaffold_appbar.dart @@ -54,7 +54,7 @@ class _LeadingAppBarWidget extends StatelessWidget { @override Widget build(BuildContext context) { return SvgPicture.asset( - ImagePaths.icTwakeImageLogo, + ImagePaths.icTwakeImageLogoBeta, width: AdaptiveScaffoldAppBarStyle.sizeWidthIcTwakeImageLogo, height: AdaptiveScaffoldAppBarStyle.sizeHeightIcTwakeImageLogo, );