From fd24dbace5390f0e03bf9e76670f6d4cd42e5ec9 Mon Sep 17 00:00:00 2001 From: Razmjoo123 <108223759+Razmjoo123@users.noreply.github.com> Date: Mon, 19 Sep 2022 18:37:07 +0430 Subject: [PATCH] Update single.dart --- lib/view/single.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/view/single.dart b/lib/view/single.dart index 232af16..02c5426 100644 --- a/lib/view/single.dart +++ b/lib/view/single.dart @@ -158,10 +158,9 @@ class Single extends StatelessWidget { var tagId = singleArcticleController.tagList[index].id!; await Get.find() .getArticleListWithTagsId(tagId); - String tagName = singleArcticleController.tagList[index].title!; - Get.to(ArticleListScreen( - title: tagName, - )); + Get.find().screenTitle.value = + 'بر اساس ' + singleArticleController.tagsList[index].title!; + Get.to(ArticleListScreen( )); }, child: Padding( padding: const EdgeInsets.only(left: 8),