~exprez135/cryptomator-libre

8d15a6612f606e0d08733939ec01286190fceb2e — Martin 4 years ago 330b1cb
Implements #1244 by adding a small button to regain focus

M main/ui/src/main/java/org/cryptomator/ui/controls/FontAwesome5Icon.java => main/ui/src/main/java/org/cryptomator/ui/controls/FontAwesome5Icon.java +2 -1
@@ 26,17 26,18 @@ public enum FontAwesome5Icon {
	INFO_CIRCLE("\uF05A"), //
	KEY("\uF084"), //
	LINK("\uF0C1"), //
	UNLINK("\uf127"),
	LOCK("\uF023"), //
	LOCK_OPEN("\uF3C1"), //
	MAGIC("\uF0D0"), //
	PLUS("\uF067"), //
	PRINT("\uF02F"), //
	QUESTION("\uF128"), //
	REDO("\uF01E"), //
	SEARCH("\uF002"), //
	SPINNER("\uF110"), //
	SYNC("\uF021"), //
	TIMES("\uF00D"), //
	UNLINK("\uf127"), //
	WRENCH("\uF0AD"), //
	WINDOW_MINIMIZE("\uF2D1"), //
	;

M main/ui/src/main/resources/fxml/vault_detail_missing.fxml => main/ui/src/main/resources/fxml/vault_detail_missing.fxml +6 -1
@@ 4,6 4,7 @@
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.shape.Circle?>
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
<?import javafx.scene.control.Button?>
<VBox xmlns="http://javafx.com/javafx"
	  xmlns:fx="http://javafx.com/fxml"
	  fx:controller="org.cryptomator.ui.mainwindow.VaultDetailMissingVaultController"


@@ 19,7 20,11 @@
				</StackPane.margin>
			</FontAwesome5IconView>
		</StackPane>

		<Label text="%main.vaultDetail.missing.info" wrapText="true"/>
		<Button text="%main.vaultDetail.missing.refresh" minWidth="120">
			<graphic>
				<FontAwesome5IconView glyph="REDO"/>
			</graphic>
		</Button>
	</children>
</VBox>
\ No newline at end of file

M main/ui/src/main/resources/i18n/strings.properties => main/ui/src/main/resources/i18n/strings.properties +1 -0
@@ 193,6 193,7 @@ main.vaultDetail.throughput.kbps=%.1f kiB/s
main.vaultDetail.throughput.mbps=%.1f MiB/s
### Missing
main.vaultDetail.missing.info=Cryptomator could not find a vault at this path.
main.vaultDetail.missing.refresh=Refresh current vault
### Needs Migration
main.vaultDetail.migrateButton=Upgrade Vault
main.vaultDetail.migratePrompt=Your vault needs to be upgraded to a new format, before you can access it