mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(android): edge-to-edge expose helper enableEdgeToEdge
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { platformCheck } from './platform-check';
|
||||
|
||||
// importing this helper as a separate file avoids "android" symbol clash with the global android object
|
||||
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, setStatusBarColor, setNavigationBarColor, setDarkModeHandler } from './native-helper-for-android';
|
||||
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, setStatusBarColor, setNavigationBarColor, setDarkModeHandler, enableEdgeToEdge } from './native-helper-for-android';
|
||||
export { dataSerialize, dataDeserialize } from './native-helper-for-android';
|
||||
|
||||
export { getWindow } from './native-helper-for-android';
|
||||
@@ -21,6 +21,7 @@ export const android = {
|
||||
setStatusBarColor,
|
||||
setNavigationBarColor,
|
||||
setDarkModeHandler,
|
||||
enableEdgeToEdge,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user