adjust colors to movie-web

This commit is contained in:
Jorrin
2024-03-08 21:53:03 +01:00
parent 7e035e823a
commit ad2c84950a
29 changed files with 1537 additions and 167 deletions

6
apps/expo/src/lib/url.ts Normal file
View File

@@ -0,0 +1,6 @@
export const constructFullUrl = (playlistUrl: string, uri: string) => {
const baseUrl = playlistUrl.substring(0, playlistUrl.lastIndexOf("/") + 1);
return uri.startsWith("http://") || uri.startsWith("https://")
? uri
: baseUrl + uri;
};