Skip to content

Commit

Permalink
Merge pull request #20 from Cosmicoppai/a-lisa
Browse files Browse the repository at this point in the history
First release
  • Loading branch information
Cosmicoppai authored Nov 28, 2022
2 parents 60232fb + 8dce858 commit 267320c
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ backend/video/segments

downloads

backend/lisa/scripts
backend/lisa/setup
*.exe
*.exe
backend/lisa
2 changes: 1 addition & 1 deletion LiSA.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ a = Analysis(
['backend\\LiSA.py'],
pathex=[],
binaries=[('ffmpeg.exe', '.')],
datas=[('backend/defaults', 'defaults'), ('backend/sql_queries', 'sql_queries'), ('backend/scripts', 'scripts'),
datas=[('backend/defaults', 'defaults'), ('backend/sql_queries', 'sql_queries'),
('backend/config/config.json', '.')],
hiddenimports=[],
hookspath=[],
Expand Down
4 changes: 4 additions & 0 deletions src/screens/animeDetailsScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export default function AnimeDetailsScreen() {
const { loading } = useSelector((state) => state.animeSearchList);

useEffect(() => {
if (window) {
window?.scrollTo(0, 0);
}

if (details.recommendation) {
dispatch(getRecommendations(details.recommendation));
}
Expand Down
7 changes: 7 additions & 0 deletions src/screens/exploreScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ const ExploreScreen = () => {
};

const dispatch = useDispatch();

useEffect(() => {
if (window) {
window?.scrollTo(0, 0);
}
}, []);

useEffect(() => {
dispatch(getExploreDetails(query));
}, [query]);
Expand Down
6 changes: 3 additions & 3 deletions src/screens/homeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@ export const HomeScreen = () => {
};

useEffect(() => {

return () => {
dispatch(clearSearch());
};
}, []);


return (
<Flex w="100%" h="100%" direction="column" bg={"gray.900"}>
{isOnline ? (
Expand All @@ -81,9 +83,7 @@ export const HomeScreen = () => {
pointerEvents="none"
children={
<Box mr="10" p={1} px={2}>
<Kbd fontSize={"1.2rem"}>
Enter
</Kbd>
<Kbd fontSize={"1.2rem"}>Enter</Kbd>
</Box>
}
/>
Expand Down
8 changes: 6 additions & 2 deletions src/screens/inbuiltPlayerScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ const InbuiltPlayerScreen = () => {
item = Object.values(single_ep)[0];
}
});
console.log("item", item);
console.log("???????????????????????????????????");

if (item) {
console.log("item", item);
Expand Down Expand Up @@ -145,6 +143,12 @@ const InbuiltPlayerScreen = () => {
console.log("streamLoading", streamLoading);
console.log("player", player);

useEffect(() => {
if (window) {
window?.scrollTo(0, 0);
}
}, []);

return (
<Center py={6} w="100%">
<Flex
Expand Down
3 changes: 3 additions & 0 deletions utilities/loaders/main/css/loader.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ body {
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.circle {
position: relative;
width: 250px;
height: 250px;
overflow: hidden;

}
.circle svg {
fill: none;
Expand Down

0 comments on commit 267320c

Please sign in to comment.