Fix icon direction logic in ListTileChapterSort widget

This commit is contained in:
Moustapha Kodjo Amadou 2025-11-07 11:34:50 +01:00
parent 951781f415
commit 75472aed62

View file

@ -19,7 +19,7 @@ class ListTileChapterSort extends StatelessWidget {
iconColor: Theme.of(context).primaryColor,
dense: true,
leading: Icon(
reverse ? Icons.arrow_downward_sharp : Icons.arrow_upward_sharp,
!reverse ? Icons.arrow_downward_sharp : Icons.arrow_upward_sharp,
color: showLeading
? Theme.of(context).primaryColor
: Colors.transparent,