@@ -383,7 +383,7 @@ class PluginViewModel: Observable {
383383 expandedText: setHTMLTextAttributes ( text) ,
384384 expanded: descriptionExpandedStatus,
385385 action: { [ unowned self] row in
386- self . descriptionExpandedStatus = ! self . descriptionExpandedStatus
386+ self . descriptionExpandedStatus. toggle ( )
387387 ( row as? ExpandableRow ) ? . expanded = self . descriptionExpandedStatus
388388 } ,
389389 onLinkTap: { [ unowned self] url in
@@ -399,7 +399,7 @@ class PluginViewModel: Observable {
399399 expandedText: setHTMLTextAttributes ( text) ,
400400 expanded: installationExpandedStatus,
401401 action: { [ unowned self] row in
402- self . installationExpandedStatus = ! self . installationExpandedStatus
402+ self . installationExpandedStatus. toggle ( )
403403 ( row as? ExpandableRow ) ? . expanded = self . installationExpandedStatus
404404 } ,
405405 onLinkTap: { [ unowned self] url in
@@ -415,7 +415,7 @@ class PluginViewModel: Observable {
415415 expandedText: setHTMLTextAttributes ( text) ,
416416 expanded: changeLogExpandedStatus,
417417 action: { [ unowned self] row in
418- self . changeLogExpandedStatus = ! self . changeLogExpandedStatus
418+ self . changeLogExpandedStatus. toggle ( )
419419 ( row as? ExpandableRow ) ? . expanded = self . changeLogExpandedStatus
420420 } ,
421421 onLinkTap: { [ unowned self] url in
@@ -431,7 +431,7 @@ class PluginViewModel: Observable {
431431 expandedText: setHTMLTextAttributes ( text) ,
432432 expanded: faqExpandedStatus,
433433 action: { [ unowned self] row in
434- self . faqExpandedStatus = ! self . faqExpandedStatus
434+ self . faqExpandedStatus. toggle ( )
435435 ( row as? ExpandableRow ) ? . expanded = self . faqExpandedStatus
436436 } ,
437437 onLinkTap: { [ unowned self] url in
0 commit comments