From 72b59a9208d0dc79f1d9fdc26bfd7c9b81a0e6ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Leis?= Date: Wed, 17 Jul 2019 12:54:43 +0200 Subject: [PATCH] Add Android Pie to version names --- src/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 171dfae..04018bb 100644 --- a/src/utils.js +++ b/src/utils.js @@ -69,7 +69,7 @@ export default class Utils { * 6.x - Marshmallow * 7.x - Nougat * 8.x - Oreo - * 9.x - ? + * 9.x - Pie * * @example * getAndroidVersionName("7.0") // 'Nougat' @@ -94,6 +94,7 @@ export default class Utils { if (v[0] === 6) return 'Marshmallow'; if (v[0] === 7) return 'Nougat'; if (v[0] === 8) return 'Oreo'; + if (v[0] === 9) return 'Pie'; return undefined; }