Browse Source

renamed file

Sebastian Stenzel 5 years ago
parent
commit
ccefb3613e

+ 1 - 1
main/ui/src/main/java/org/cryptomator/ui/common/FxmlFile.java

@@ -16,7 +16,7 @@ public enum FxmlFile {
 	PREFERENCES("/fxml/preferences.fxml"), //
 	QUIT("/fxml/quit.fxml"), //
 	REMOVE_VAULT("/fxml/remove_vault.fxml"), //
-	UNLOCK("/fxml/unlock2.fxml"), // TODO rename
+	UNLOCK("/fxml/unlock.fxml"),
 	UNLOCK_SUCCESS("/fxml/unlock_success.fxml"), //
 	VAULT_OPTIONS("/fxml/vault_options.fxml"), //
 	WRONGFILEALERT("/fxml/wrongfilealert.fxml");

+ 1 - 1
main/ui/src/main/java/org/cryptomator/ui/unlock/UnlockModule.java

@@ -50,7 +50,7 @@ abstract class UnlockModule {
 	@FxmlScene(FxmlFile.UNLOCK)
 	@UnlockScoped
 	static Scene provideUnlockScene(@UnlockWindow FXMLLoaderFactory fxmlLoaders, @UnlockWindow Stage window) {
-		Scene scene = fxmlLoaders.createScene("/fxml/unlock2.fxml"); // TODO rename fxml file
+		Scene scene = fxmlLoaders.createScene("/fxml/unlock.fxml");
 
 		KeyCombination cmdW = new KeyCodeCombination(KeyCode.W, KeyCombination.SHORTCUT_DOWN);
 		scene.getAccelerators().put(cmdW, window::close);

main/ui/src/main/resources/fxml/unlock2.fxml → main/ui/src/main/resources/fxml/unlock.fxml