Skip to content

cc-list-row: Subclass AdwActionRow

AdwActionRow handles many of the properties we use CcListRow for. We can re-use it instead of re-creating it.

CcListRow is now an AdwActionRow with three suffixes. The activatable-widget is set when the switch is visible.

Since our icon-name property was only used for the arrow icon, it has been replaced with a show-arrow property.

The bold property has been removed - it was only used in one place, and it's not a pattern used in other apps.

I decided to go this route because replacing all the instances of CcListRow with AdwActionRow directly would end up being more code.

Edited by Christopher Davis

Merge request reports