Skip to content

Commit f61dbf5

Browse files
committed
Fix expanding characteristics.
1 parent 15947a0 commit f61dbf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/lib/src/ui/device_detail/device_interaction_tab.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ class _ServiceDiscoveryListState extends State<_ServiceDiscoveryList> {
285285
child: ExpansionPanelList(
286286
expansionCallback: (int index, bool isExpanded) {
287287
setState(() {
288-
if (isExpanded) {
288+
if (!isExpanded) {
289289
_expandedItems.remove(index);
290290
} else {
291291
_expandedItems.add(index);

0 commit comments

Comments
 (0)