瀏覽代碼

fixing broken option "reveal after mount"

infeo 7 年之前
父節點
當前提交
119e0724d5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/ui/src/main/java/org/cryptomator/ui/controllers/MainController.java

+ 1 - 1
main/ui/src/main/java/org/cryptomator/ui/controllers/MainController.java

@@ -495,7 +495,7 @@ public class MainController implements ViewController {
 
 	public void didUnlock(Vault vault) {
 		if (vault.equals(selectedVault.getValue())) {
-			this.showUnlockedView(vault, true);
+			this.showUnlockedView(vault, vault.getVaultSettings().revealAfterMount().getValue());
 		}
 	}