(js) Show mail compose btn if msgs list is visible

This commit is contained in:
Francis Lachapelle
2019-05-16 14:30:32 -04:00
parent 05ca00296d
commit 6e6a82d974
3 changed files with 10 additions and 2 deletions
@@ -30,6 +30,13 @@
}, 24 * 3600 * 1000);
}, window.currentDay.secondsBeforeTomorrow * 1000);
// Track the 600px window width threashold
$scope.$watch(function() {
return $mdMedia(sgConstant['gt-xs']);
}, function(newVal) {
$scope.isGtExtraSmall = newVal;
});
// Track the 1024px window width threashold
$scope.$watch(function() {
return $mdMedia(sgConstant['gt-md']);