mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 09:13:24 +00:00
ENH - refine App Store experience
This commit is contained in:
@@ -715,8 +715,9 @@ export function getPhoneAppLabel(
|
||||
|
||||
export function isPhoneAppRemovable(app: PhoneAppDefinition): boolean {
|
||||
return app.kind === 'external'
|
||||
? app.removable
|
||||
: !NON_REMOVABLE_PHONE_APP_IDS.has(app.id)
|
||||
? app.removable && !app.defaultInstalled
|
||||
: !DEFAULT_INSTALLED_PHONE_APP_IDS.has(app.id) &&
|
||||
!NON_REMOVABLE_PHONE_APP_IDS.has(app.id)
|
||||
}
|
||||
|
||||
export function isLaunchablePhoneApp(
|
||||
|
||||
Reference in New Issue
Block a user