Skip to content

Commit

Permalink
Merge branch 'fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhigq committed Mar 13, 2024
2 parents 641cf4e + d3766ae commit 4def3ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/models/common/dynamics_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ enum DynamicsType {

extension BusinessTypeExtension on DynamicsType {
String get values => ['all', 'video', 'pgc', 'article'][index];
String get labels => ['全部', '视频', '追番', '专栏'][index];
String get labels => ['全部', '投稿', '番剧', '专栏'][index];
}
2 changes: 1 addition & 1 deletion lib/pages/search/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class SSearchController extends GetxController {

onLongSelect(word) {
int index = historyList.indexOf(word);
historyList.value = historyList.removeAt(index);
historyList.removeAt(index);
historyList.refresh();
histiryWord.put('cacheList', historyList);
}
Expand Down

0 comments on commit 4def3ff

Please sign in to comment.