File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,12 @@ class _MainScreenState extends State<MainScreen> {
5050 children: [
5151 MainScreenListView (
5252 cleanList: sort.isDescOrder
53- ? cleanList
54- : List . from ( cleanList.reversed) ),
53+ ? List . from ( cleanList.reversed)
54+ : cleanList),
5555 MainScreenFavoriteView (
5656 cleanList: sort.isDescOrder
57- ? cleanList
58- : List . from ( cleanList.reversed) )
57+ ? List . from ( cleanList.reversed)
58+ : cleanList)
5959 ],
6060 ),
6161 bottomNavigationBar: CustomBottomNavigationBar (
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import 'package:shared_preferences/shared_preferences.dart';
55const _sharedPreferenceSortModeKey = "isDescOrder" ;
66
77class SortMode extends ChangeNotifier {
8- bool _isDescOrder = false ;
8+ bool _isDescOrder = true ;
99
1010 bool get isDescOrder {
1111 return _isDescOrder;
@@ -26,7 +26,7 @@ class SortMode extends ChangeNotifier {
2626
2727 // This type should not be a widget(e.g. Icon) because of mockito support...
2828 IconData get icon =>
29- _isDescOrder ? Icons .vertical_align_top : Icons .vertical_align_bottom ;
29+ _isDescOrder ? Icons .arrow_upward : Icons .arrow_downward ;
3030
3131 // This type should not be a widget(e.g. Text) because of mockito support...
3232 String get text => _isDescOrder ? "오름차순으로" : "내림차순으로" ;
You can’t perform that action at this time.
0 commit comments