bug fixes

This commit is contained in:
MohammadTaha Basiri 2022-04-20 03:11:21 +04:30
parent 6e8fe074da
commit 0c47465d2a
2 changed files with 4 additions and 2 deletions

View File

@ -56,7 +56,9 @@ class _DirectState extends State<Direct> {
backgroundColor: Theme.of(context).colorScheme.surface,
appBarData: AppBarData(
hasBack: true,
subtitle: 'ارتباط با سردبیر',
subtitle: widget.pageData['type'] == null
? null
: 'ارتباط با سردبیر',
title: widget.pageData['type'] ?? 'پشتیبانی اپلیکیشن',
),
slivers: [

View File

@ -78,7 +78,7 @@ class _SearchFieldState extends State<SearchField> {
right: 12,
),
border: InputBorder.none,
hintText: 'جستجو مطلب در ${widget.title}',
hintText: 'جستجو در ${widget.title}',
hintStyle: TextStyle(
color: Theme.of(context).colorScheme.disabledText,
),