Add extra controller condition
This commit is contained in:
parent
df85b6271e
commit
926c0afe0a
|
@ -43,7 +43,8 @@ class CreatePostCommunityPicker extends HookWidget {
|
||||||
vertical: 16,
|
vertical: 16,
|
||||||
horizontal: 20,
|
horizontal: 20,
|
||||||
),
|
),
|
||||||
suffixIcon: store.selectedCommunity == null
|
suffixIcon:
|
||||||
|
store.selectedCommunity == null && controller.text.isEmpty
|
||||||
? const Icon(Icons.arrow_drop_down)
|
? const Icon(Icons.arrow_drop_down)
|
||||||
: IconButton(
|
: IconButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
|
Loading…
Reference in New Issue