volume cleanup

This commit is contained in:
Jorrin
2024-02-14 20:00:36 +01:00
parent 82a3f431fa
commit c670047713
6 changed files with 70 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
import { View } from "react-native";
import { StyleSheet, View } from "react-native";
import { Controls } from "./Controls";
import { PlayButton } from "./PlayButton";
@@ -6,8 +6,8 @@ import { SeekButton } from "./SeekButton";
export const MiddleControls = () => {
return (
<View className="flex flex-1 flex-row items-center justify-center gap-24">
<Controls>
<View style={styles.container}>
<Controls className="mr-24">
<SeekButton type="backward" />
</Controls>
<Controls>
@@ -19,3 +19,13 @@ export const MiddleControls = () => {
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
flexDirection: "row",
alignItems: "center",
justifyContent: "center",
gap: 82,
},
});