Skip to content

Commit 87c8feb

Browse files
committed
Use primary color in ShareVaultView and add preview
1 parent 59bff23 commit 87c8feb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Cryptomator/VaultDetail/ShareVault/ShareVaultView.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ struct ShareVaultView: View {
8888
.foregroundColor(.secondary) +
8989
Text(" ") +
9090
Text(docsButtonTitle)
91-
.foregroundColor(.blue)
91+
.foregroundColor(.cryptomatorPrimary)
9292
.underline() +
9393
Text(".")
9494
.foregroundColor(.secondary))
@@ -130,3 +130,9 @@ struct ShareVaultView: View {
130130
}
131131
}
132132
}
133+
134+
struct ShareVaultView_Previews: PreviewProvider {
135+
static var previews: some View {
136+
ShareVaultView(viewModel: ShareVaultViewModel(type: .normal))
137+
}
138+
}

0 commit comments

Comments
 (0)