mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
WIP :D
This commit is contained in:
1 parent
ff4381fa01
commit
a97d858f99
21 files changed
+659
-161
No files matched your search
@@ -17,11 +17,11 @@ export const getSoundSettings = (
|
||||
try {
|
||||
return app
|
||||
? {
|
||||
sound: getPath[type](settings[`${app}_${type}`]?.value || settings[type].value),
|
||||
sound: getPath[type](settings[`${app}_${type}`]?.value || settings[type]?.value),
|
||||
volume: (settings[`${app}_${type}Vol`] || settings[`${type}Vol`]) / 100,
|
||||
}
|
||||
: {
|
||||
sound: getPath[type](settings[type as string].value),
|
||||
sound: getPath[type](settings[type as string]?.value),
|
||||
volume: settings[`${type}Vol`] / 100,
|
||||
};
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user