mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: typo
This commit is contained in:
@@ -41,13 +41,13 @@ class VideoReplyController extends GetxController {
|
|||||||
@override
|
@override
|
||||||
void onInit() {
|
void onInit() {
|
||||||
super.onInit();
|
super.onInit();
|
||||||
int deaultReplySortIndex =
|
int defaultReplySortIndex =
|
||||||
setting.get(SettingBoxKey.replySortType, defaultValue: 0) as int;
|
setting.get(SettingBoxKey.replySortType, defaultValue: 0) as int;
|
||||||
if (deaultReplySortIndex == 2) {
|
if (defaultReplySortIndex == 2) {
|
||||||
setting.put(SettingBoxKey.replySortType, 0);
|
setting.put(SettingBoxKey.replySortType, 0);
|
||||||
deaultReplySortIndex = 0;
|
defaultReplySortIndex = 0;
|
||||||
}
|
}
|
||||||
_sortType = ReplySortType.values[deaultReplySortIndex];
|
_sortType = ReplySortType.values[defaultReplySortIndex];
|
||||||
sortTypeTitle.value = _sortType.titles;
|
sortTypeTitle.value = _sortType.titles;
|
||||||
sortTypeLabel.value = _sortType.labels;
|
sortTypeLabel.value = _sortType.labels;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user