Skip to content

Commit f2cbee0

Browse files
fixes #3
1 parent 269f4c6 commit f2cbee0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main/java/org/cryptomator/integrations/keychain/KeychainAccessProvider.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@
55
*/
66
public interface KeychainAccessProvider {
77

8+
/**
9+
* A name to display in UI elements. If required, this should be localized.
10+
*
11+
* @return user-friendly name (must not be null or empty)
12+
*/
13+
default String displayName() {
14+
// FIXME remove default method in 1.0.0
15+
return getClass().getSimpleName();
16+
}
17+
818
/**
919
* Associates a passphrase with a given key.
1020
*

0 commit comments

Comments
 (0)