mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:53:24 +00:00
feat: show controls while loading
This commit is contained in:
@@ -4,11 +4,11 @@ import { BottomControls } from "./BottomControls";
|
||||
import { Header } from "./Header";
|
||||
import { MiddleControls } from "./MiddleControls";
|
||||
|
||||
export const ControlsOverlay = () => {
|
||||
export const ControlsOverlay = ({ isLoading }: { isLoading: boolean }) => {
|
||||
return (
|
||||
<View className="flex w-full flex-1 flex-col justify-between">
|
||||
<Header />
|
||||
<MiddleControls />
|
||||
{!isLoading && <MiddleControls />}
|
||||
<BottomControls />
|
||||
</View>
|
||||
);
|
||||
|
Reference in New Issue
Block a user