@akylas/nativescript-app-utils
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -6,2 +6,8 @@ # Change Log | ||
## [2.1.1](https://github.com/akylas/nativescript-app-utils/compare/v2.1.0...v2.1.1) (2024-10-05) | ||
### Bug Fixes | ||
* **android:** allow to prepare activity without enabling dynamic colors ([103a466](https://github.com/akylas/nativescript-app-utils/commit/103a4669487767b0674dc06a3d1a991717300b5c)) | ||
## [2.1.0](https://github.com/akylas/nativescript-app-utils/compare/v2.0.0...v2.1.0) (2024-10-03) | ||
@@ -8,0 +14,0 @@ |
@@ -8,3 +8,3 @@ import { ImageSource } from '@nativescript/core'; | ||
function getColorFromName(context: android.content.Context, name: string): number; | ||
function prepareActivity(activity: androidx.appcompat.app.AppCompatActivity): any; | ||
function prepareActivity(activity: androidx.appcompat.app.AppCompatActivity, applyDynamicColors?: boolean): any; | ||
function applyDayNight(activity: androidx.appcompat.app.AppCompatActivity, applyDynamicColors: boolean): any; | ||
@@ -11,0 +11,0 @@ function applyDynamicColors(activity: androidx.appcompat.app.AppCompatActivity): any; |
@@ -54,4 +54,4 @@ import { Application, ImageSource, Utils } from '@nativescript/core'; | ||
AppUtilsAndroid.getColorFromName = getColorFromName; | ||
function prepareActivity(activity) { | ||
return UtilsCompanion.prepareActivity(activity); | ||
function prepareActivity(activity, applyDynamicColors = true) { | ||
return UtilsCompanion.prepareActivity(activity, applyDynamicColors); | ||
} | ||
@@ -58,0 +58,0 @@ AppUtilsAndroid.prepareActivity = prepareActivity; |
{ | ||
"name": "@akylas/nativescript-app-utils", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Provides API for changing the styles of SystemUI (StatusBar, NavigationBar...) on iOS.", | ||
@@ -66,3 +66,3 @@ "main": "index", | ||
}, | ||
"gitHead": "6ce2a1f258fe5424db0b4e4273e9fdd76d51e44c" | ||
"gitHead": "23dbebb1eed5374be644bb39f8dd2ede6ed43a86" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92333