b0bdN / prayer-times-menubar-app

A menubar application for displaying the prayer times from your city.
MIT License
16 stars 20 forks source link

fixed getMidnightMode #2

Closed tikenov closed 2 years ago

tikenov commented 2 years ago

fixes #1. The problem was that all get parameters returned variables but should be functions. Also replaced setTimeout with await on fetching data.

b0bdN commented 2 years ago

Hi! Thank you for your quick response!! :) In order to make your modifications work, I had to modify the store.js file to have the GET parameters in function. I also deleted some semicolons to follow the ESLint standard to have a concise code.

I hope it's good for you :)

tikenov commented 2 years ago

Yeah, do whatever changes you want, it was just to give you an idea how it should look like.

tikenov commented 2 years ago

I actually also made changes to store.js, but fogot to commit it)