mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-26 04:14:19 +00:00
Allow to hide center column on large screens
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
$scope.activeUser = sgSettings.activeUser();
|
||||
$scope.baseURL = sgSettings.baseURL();
|
||||
$scope.leftIsClose = !$mdMedia(sgConstant['gt-md']);
|
||||
$scope.centerIsClose = false;
|
||||
|
||||
// Show current day in top bar
|
||||
$scope.currentDay = window.currentDay;
|
||||
@@ -52,6 +53,9 @@
|
||||
$log.debug("toggle right is done");
|
||||
});
|
||||
};
|
||||
$scope.toggleCenter = function() {
|
||||
$scope.centerIsClose = !$scope.centerIsClose;
|
||||
};
|
||||
// $scope.openBottomSheet = function() {
|
||||
// $mdBottomSheet.show({
|
||||
// parent: angular.element(document.getElementById('left-sidenav')),
|
||||
|
||||
Reference in New Issue
Block a user