mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
some modifitions (#636)
* opt: MsgUnReadTypeV2 * mod: recoard history in anonymity mode
This commit is contained in:
committed by
GitHub
parent
82d615fbbf
commit
af289c533f
@@ -1,7 +1,5 @@
|
||||
import 'package:PiliPlus/common/widgets/dialog.dart';
|
||||
import 'package:PiliPlus/http/loading_state.dart';
|
||||
import 'package:PiliPlus/pages/mine/controller.dart';
|
||||
import 'package:PiliPlus/utils/extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:PiliPlus/http/search.dart';
|
||||
@@ -94,7 +92,7 @@ class SSearchController extends GetxController {
|
||||
validateUid();
|
||||
}
|
||||
|
||||
if (MineController.anonymity.value.not && recordSearchHistory.value) {
|
||||
if (recordSearchHistory.value) {
|
||||
historyList.remove(controller.text);
|
||||
historyList.insert(0, controller.text);
|
||||
GStorage.historyWord.put('cacheList', historyList);
|
||||
|
||||
Reference in New Issue
Block a user