File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -358,13 +358,13 @@ class BingWallpaperIndicator extends Button {
358
358
let maxlongdate = Utils . getMaxLongDate ( this . _settings ) ;
359
359
this . refreshduetext =
360
360
_ ( "Next refresh" ) + ": " + ( this . refreshdue ? this . refreshdue . format ( "%Y-%m-%d %X" ) : '-' ) +
361
- " (" + Utils . friendly_time_diff ( this . refreshdue ) + ")\n" +
361
+ " (" + this . refreshdue ? Utils . friendly_time_diff ( this . refreshdue ) : "-" + ")\n" +
362
362
_ ( "Last refresh" ) + ": " + ( maxlongdate ? this . _localeDate ( maxlongdate , true ) : '-' ) ;
363
363
// also show when shuffle is next due
364
364
if ( this . _settings . get_boolean ( 'random-mode-enabled' ) ) {
365
365
this . refreshduetext += "\n" + _ ( "Next shuffle" ) + ": " +
366
366
( this . shuffledue ? this . shuffledue . format ( "%Y-%m-%d %X" ) : '-' ) +
367
- " (" + Utils . friendly_time_diff ( this . shuffledue ) + ")" ;
367
+ " (" + this . refreshdue ? Utils . friendly_time_diff ( this . shuffledue ) : "-" + ")" ;
368
368
}
369
369
this . refreshDueItem . label . set_text ( this . refreshduetext ) ;
370
370
}
You can’t perform that action at this time.
0 commit comments