diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-06-30 22:01:17 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-06-30 22:01:17 +0200 |
commit | c2ba7e2420f09e4aa6d604f4af073668520138da (patch) | |
tree | 8deb32f70703c789953a5a01a5be385966c04e65 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResults.java | |
parent | 6d7a9ec48a6517adfe94ed2edfa875def538d088 (diff) | |
download | open-keychain-c2ba7e2420f09e4aa6d604f4af073668520138da.tar.gz open-keychain-c2ba7e2420f09e4aa6d604f4af073668520138da.tar.bz2 open-keychain-c2ba7e2420f09e4aa6d604f4af073668520138da.zip |
work on edit key
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResults.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResults.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResults.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResults.java index e5d06ccbb..fd3d4ed00 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResults.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResults.java @@ -80,7 +80,7 @@ public abstract class OperationResults { } }; - public void displayToast(final Activity activity) { + public void displayNotify(final Activity activity) { int resultType = getResult(); @@ -130,6 +130,7 @@ public abstract class OperationResults { } } + // TODO: externalize into Notify class? boolean button = getLog() != null && !getLog().isEmpty(); SuperCardToast toast = new SuperCardToast(activity, button ? SuperToast.Type.BUTTON : SuperToast.Type.STANDARD, |