mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: save rcmd
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -1136,7 +1136,11 @@ List<SettingsModel> get recommendSettings => [
|
||||
defaultVal: true,
|
||||
onChanged: (value) {
|
||||
try {
|
||||
Get.find<RcmdController>().savedRcmdTip = value;
|
||||
RcmdController ctr = Get.find<RcmdController>();
|
||||
ctr.savedRcmdTip = value;
|
||||
if (value.not) {
|
||||
ctr.lastRefreshAt = null;
|
||||
}
|
||||
} catch (e) {
|
||||
debugPrint('$e');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user