Dont reselect inbox onLogin

This commit is contained in:
Tankred Hase 2014-04-30 01:20:36 +02:00
parent 5d5d84cdc9
commit 5a4889d57d
1 changed files with 4 additions and 2 deletions

View File

@ -72,8 +72,10 @@ define(function(require) {
}
// select inbox if not yet selected
$scope.openFolder($scope.account.folders[0]);
$scope.$apply();
if (!$scope.state.nav.currentFolder) {
$scope.openFolder($scope.account.folders[0]);
$scope.$apply();
}
});
//