feat(android): edge-to-edge expose helper enableEdgeToEdge

This commit is contained in:
Nathan Walker
2025-09-02 09:25:10 -07:00
parent 84e9190f87
commit 2fcc5372d5
3 changed files with 13 additions and 2 deletions

View File

@@ -110,6 +110,16 @@ export const android: {
setStatusBarColor: (lightColor: Color | null = null, darkColor: Color | null = null) => void;
setNavigationBarColor: (lightColor: Color | null = null, darkColor: Color | null = null) => void;
setDarkModeHandler: (handler: (bar: 'status' | 'navigation', resources: android.content.res.Resources) => boolean) => void;
enableEdgeToEdge: (
activity: androidx.appcompat.app.AppCompatActivity,
options?: {
statusBarLightColor?: Color;
statusBarDarkColor?: Color;
navigationBarLightColor?: Color;
navigationBarDarkColor?: Color;
handleDarkMode?: (bar: 'status' | 'navigation', resources: android.content.res.Resources) => boolean;
},
) => void;
};
/**