mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
fix(phone/notifications): Fixed error when setting for app is not defined
This commit is contained in:
1 parent
279778e4f3
commit
06137d77ad
1 file changed
+1
-1
@@ -17,7 +17,7 @@ export const getSoundSettings = (
|
|||||||
try {
|
try {
|
||||||
return app
|
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,
|
volume: (settings[`${app}_${type}Vol`] || settings[`${type}Vol`]) / 100,
|
||||||
}
|
}
|
||||||
: {
|
: {
|
||||||
|
|||||||
Reference in new issue
Block a user