mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: default values
This commit is contained in:
@@ -41,7 +41,7 @@ class VideoReplyController extends GetxController {
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
int defaultReplySortIndex =
|
||||
setting.get(SettingBoxKey.replySortType, defaultValue: 0) as int;
|
||||
setting.get(SettingBoxKey.replySortType, defaultValue: 1) as int;
|
||||
if (defaultReplySortIndex == 2) {
|
||||
setting.put(SettingBoxKey.replySortType, 0);
|
||||
defaultReplySortIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user