opt `FollowingsFollowedUpper` url

Closes #1061
Closes #1062

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-21 14:07:18 +08:00
parent b6ce93cbd2
commit ba14e56ceb
7 changed files with 37 additions and 20 deletions

View File

@@ -150,6 +150,7 @@ class SSearchController extends GetxController
historyList
..remove(controller.text)
..insert(0, controller.text);
GStorage.historyWord.put('cacheList', historyList);
}
searchFocusNode.unfocus();
@@ -197,6 +198,7 @@ class SSearchController extends GetxController
void onLongSelect(String word) {
historyList.remove(word);
GStorage.historyWord.put('cacheList', historyList);
}
void onClearHistory() {
@@ -205,13 +207,13 @@ class SSearchController extends GetxController
title: '确定清空搜索历史?',
onConfirm: () {
historyList.clear();
GStorage.historyWord.delete('cacheList');
},
);
}
@override
void onClose() {
GStorage.historyWord.put('cacheList', historyList);
subDispose();
searchFocusNode.dispose();
controller.dispose();