Search Engine switching

This commit is contained in:
MotorTruck1221
2025-05-02 23:26:36 -06:00
parent 4ea7ab5e11
commit ab6f588fb1
3 changed files with 20 additions and 1 deletions
+4
View File
@@ -74,6 +74,10 @@ class Settings {
proxy(prox: 'uv' | 'sj') {
this.#storageManager.setVal('proxy', prox);
}
searchEngine(engine: string) {
this.#storageManager.setVal('searchEngine', engine);
}
async *#init() {
yield this.theme(this.#storageManager.getVal('theme') || 'default');