mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Remove commented code
This commit is contained in:
@ -86,8 +86,6 @@ export class device implements definition.device {
|
|||||||
static get language(): string {
|
static get language(): string {
|
||||||
if (!device._language) {
|
if (!device._language) {
|
||||||
var context = application.android.context;
|
var context = application.android.context;
|
||||||
// var locale = context.getResources().getConfiguration().getLocale();
|
|
||||||
|
|
||||||
device._language = java.util.Locale.getDefault().toString();
|
device._language = java.util.Locale.getDefault().toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user