Chore/rework fullscreen configuration (#4142)
* feat(android): handle navigation bar status in full-screen mode * chore: update default value of prop * chore(android): rework fullscreen configuration --------- Co-authored-by: mostafahasani <seyedmostafahassani@gmail.com>
This commit is contained in:
@@ -294,9 +294,11 @@ export type OnAudioFocusChangedData = Readonly<{
|
||||
}>;
|
||||
|
||||
type ControlsStyles = Readonly<{
|
||||
hideSeekBar?: boolean;
|
||||
hideDuration?: boolean;
|
||||
hideSeekBar?: WithDefault<boolean, false>;
|
||||
hideDuration?: WithDefault<boolean, false>;
|
||||
seekIncrementMS?: Int32;
|
||||
hideNavigationBarOnFullScreenMode?: WithDefault<boolean, true>;
|
||||
hideNotificationBarOnFullScreenMode?: WithDefault<boolean, true>;
|
||||
}>;
|
||||
|
||||
export type OnControlsVisibilityChange = Readonly<{
|
||||
|
@@ -248,6 +248,8 @@ export type ControlsStyles = {
|
||||
hideSeekBar?: boolean;
|
||||
hideDuration?: boolean;
|
||||
seekIncrementMS?: number;
|
||||
hideNavigationBarOnFullScreenMode?: boolean;
|
||||
hideNotificationBarOnFullScreenMode?: boolean;
|
||||
};
|
||||
|
||||
export interface ReactVideoProps extends ReactVideoEvents, ViewProps {
|
||||
|
Reference in New Issue
Block a user