mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +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