Fix bugs 🐛
continuous-integration/drone/push Build is passing Details

BackupApi
Emre KARTAL 2 years ago
parent e217d06e0a
commit a036aa368d

@ -3,7 +3,7 @@ import Animated, { interpolate, SensorType, useAnimatedSensor, useAnimatedStyle
const halfPi = Math.PI / 2; const halfPi = Math.PI / 2;
const AnimatedParalax = ({ }) => { export default function AnimatedParalax() {
const sensor = useAnimatedSensor(SensorType.ROTATION); const sensor = useAnimatedSensor(SensorType.ROTATION);
const styleAniamatedImage = useAnimatedStyle(() => { const styleAniamatedImage = useAnimatedStyle(() => {
const { pitch, roll } = sensor.sensor.value; const { pitch, roll } = sensor.sensor.value;
@ -42,6 +42,3 @@ const AnimatedParalax = ({ }) => {
); );
}; };
export default AnimatedParalax;

@ -9,7 +9,7 @@
"web": "expo start --web" "web": "expo start --web"
}, },
"dependencies": { "dependencies": {
"@react-native-async-storage/async-storage": "^1.17.11", "@react-native-async-storage/async-storage": "~1.17.3",
"@react-navigation/bottom-tabs": "^6.5.4", "@react-navigation/bottom-tabs": "^6.5.4",
"@react-navigation/native": "^6.1.4", "@react-navigation/native": "^6.1.4",
"@react-navigation/native-stack": "^6.9.8", "@react-navigation/native-stack": "^6.9.8",

@ -10,7 +10,7 @@ import { SharedElement } from 'react-navigation-shared-element';
import { GraphicalCharterDark } from '../assets/GraphicalCharterDark'; import { GraphicalCharterDark } from '../assets/GraphicalCharterDark';
import { GraphicalCharterLight } from '../assets/GraphicalCharterLight'; import { GraphicalCharterLight } from '../assets/GraphicalCharterLight';
export default function favoritePage() { export default function FavoritePage() {
//Dark Mode //Dark Mode
const isDark = useSelector(state => state.userReducer.dark); const isDark = useSelector(state => state.userReducer.dark);
const style = isDark ? GraphicalCharterDark : GraphicalCharterLight; const style = isDark ? GraphicalCharterDark : GraphicalCharterLight;

@ -14,7 +14,7 @@ const DismissKeyboard = ({ children }) => (
</TouchableWithoutFeedback> </TouchableWithoutFeedback>
) )
export default function loginPage() { export default function LoginPage() {
const [sound, setSound] = useState<Audio.Sound>(); const [sound, setSound] = useState<Audio.Sound>();
const [rememberMe, setRememberMe] = useState(false); const [rememberMe, setRememberMe] = useState(false);
const navigation = useNavigation(); const navigation = useNavigation();

@ -77,11 +77,7 @@ const SpotDetailsPage = ({ route }) => {
const id = '0cFS3AMF9Lhj3CNoFvwjvY' const id = '0cFS3AMF9Lhj3CNoFvwjvY'
const getCurrentTrack = async () => { const getCurrentTrack = async () => {
try { theService.getMusicById(id);
theService.getMusicById(id)
} catch (err) {
console.error(err);
}
} }
return ( return (

@ -65,7 +65,6 @@ export default class SpotifyService implements IspotifyService {
} }
}; };
throw new Error("not Implemented") throw new Error("not Implemented")
return;
} }
public async searchMusic(text: string): Promise<Music[]> { public async searchMusic(text: string): Promise<Music[]> {

Loading…
Cancel
Save