File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ const ads = [
2121 alt : 'Wishin Product'
2222 } ,
2323 {
24- image : 'https://solothought.com/products/assets/images/wishin/old-habit.png ' ,
24+ image : 'https://solothought.com/products/assets/images/wishin/old-habit.jpg ' ,
2525 url : 'https://play.google.com/store/apps/details?id=com.solothought.wishin' ,
2626 alt : 'Wishin Product'
2727 } ,
2828 {
29- image : 'https://solothought.com/products/assets/images/wishin/reason-for-habit.png ' ,
29+ image : 'https://solothought.com/products/assets/images/wishin/reason-for-habit.jpg ' ,
3030 url : 'https://play.google.com/store/apps/details?id=com.solothought.wishin' ,
3131 alt : 'Wishin Product'
3232 } ,
@@ -44,9 +44,10 @@ function getRandomAd() {
4444
4545// Function to check if ad should be shown today
4646function shouldShowAd ( ) {
47- const lastShown = localStorage . getItem ( 'adLastShown' ) ;
48- const today = new Date ( ) . toDateString ( ) ;
49- return lastShown !== today ;
47+ // const lastShown = localStorage.getItem('adLastShown');
48+ // const today = new Date().toDateString();
49+ // return lastShown !== today;
50+ return true ;
5051}
5152
5253// Function to show the ad popup
You can’t perform that action at this time.
0 commit comments