We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8db4b1 commit fb0cd85Copy full SHA for fb0cd85
src/conn/functions/setTheme.ts
@@ -28,10 +28,10 @@ import { Theme } from './getTheme';
28
* await WPP.conn.setTheme(Theme.DARK);
29
* await WPP.conn.setTheme(Theme.SYSTEM);
30
*
31
- * // Using numbers (0 = light, 1 = dark, 2 = system)
32
- * await WPP.conn.setTheme(0);
33
- * await WPP.conn.setTheme(1);
34
- * await WPP.conn.setTheme(2);
+ * // Using string ("light", "dark", "system")
+ * await WPP.conn.setTheme("light");
+ * await WPP.conn.setTheme("dark");
+ * await WPP.conn.setTheme("system");
35
* ```
36
37
* @category Config
0 commit comments