aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src
diff options
context:
space:
mode:
authorDaniel Haß <mail@danielhass.de>2014-04-08 11:44:11 +0200
committerDaniel Haß <mail@danielhass.de>2014-04-09 15:11:17 +0200
commit6c8157152e722c8551ca60842e964ea7f6585034 (patch)
tree555100aff6cc68e0fdf47056604b5c0f9eaa91a2 /OpenKeychain/src
parent27eb7c0f1be4c3633dc72f4dba199ce971b12aea (diff)
downloadopen-keychain-6c8157152e722c8551ca60842e964ea7f6585034.tar.gz
open-keychain-6c8157152e722c8551ca60842e964ea7f6585034.tar.bz2
open-keychain-6c8157152e722c8551ca60842e964ea7f6585034.zip
Replaced Toasts in ImportKeysOrCodeFragment
Diffstat (limited to 'OpenKeychain/src')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysQrCodeFragment.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysQrCodeFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysQrCodeFragment.java
index 8b553d273..adfffd8c9 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysQrCodeFragment.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysQrCodeFragment.java
@@ -29,9 +29,9 @@ import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.ProgressBar;
import android.widget.TextView;
-import android.widget.Toast;
import com.beardedhen.androidbootstrap.BootstrapButton;
+import com.devspark.appmsg.AppMsg;
import org.sufficientlysecure.keychain.Constants;
import org.sufficientlysecure.keychain.R;
@@ -123,7 +123,7 @@ public class ImportKeysQrCodeFragment extends Fragment {
}
// fail...
- Toast.makeText(getActivity(), R.string.import_qr_code_wrong, Toast.LENGTH_LONG)
+ AppMsg.makeText(getActivity(), R.string.import_qr_code_wrong, AppMsg.STYLE_ALERT)
.show();
}
@@ -159,7 +159,7 @@ public class ImportKeysQrCodeFragment extends Fragment {
}
if (mScannedContent == null || counter > mScannedContent.length) {
- Toast.makeText(getActivity(), R.string.import_qr_code_start_with_one, Toast.LENGTH_LONG)
+ AppMsg.makeText(getActivity(), R.string.import_qr_code_start_with_one, AppMsg.STYLE_ALERT)
.show();
return;
}