mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 05:18:39 +08:00
chore: cleanup android refs
This commit is contained in:
@ -16,7 +16,7 @@ function getCurrentAppPath(): string {
|
||||
|
||||
return appPath;
|
||||
} else {
|
||||
const dir = (getNativeApp() as android.app.Application).getApplicationContext().getFilesDir();
|
||||
const dir = getNativeApp<android.app.Application>().getApplicationContext().getFilesDir();
|
||||
|
||||
return `${dir.getCanonicalPath()}/app`;
|
||||
}
|
||||
|
Reference in New Issue
Block a user