File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -461,13 +461,13 @@ function addCloseButton(scene) {
461461async function shareReflect ( streak ) {
462462 const shareData = {
463463 title : 'Reflect' ,
464- text : `I solved today's Reflect puzzle! Current streak: ${ streak } ` ,
464+ text : `I solved today's Reflect puzzle!` ,
465465 url : 'https://tom-e-white.com/reflect/' ,
466466 } ;
467467 if ( navigator . canShare ) {
468468 try {
469- const blob = await fetch ( 'logo .png' ) . then ( r => r . blob ( ) ) ;
470- const file = new File ( [ blob ] , 'logo .png' , { type : 'image/png' } ) ;
469+ const blob = await fetch ( 'favicon/favicon-32x32 .png' ) . then ( r => r . blob ( ) ) ;
470+ const file = new File ( [ blob ] , 'reflect .png' , { type : 'image/png' } ) ;
471471 if ( navigator . canShare ( { files : [ file ] } ) ) {
472472 shareData . files = [ file ] ;
473473 }
@@ -679,7 +679,7 @@ class PlayScene extends PhaserScene {
679679 showWinState ( ) ;
680680 plausible ( "solved" ) ;
681681 saveEvent ( "solved" ) ;
682- if ( today . endsWith ( "-01 " ) ) { // show on 1st of every month
682+ if ( today . endsWith ( "-30 " ) ) { // show on 1st of every month
683683 this . scene . launch ( 'ShareScene' , { streak : getStats ( ) . currentStreak } ) ;
684684 }
685685 }
You can’t perform that action at this time.
0 commit comments