Skip to content

Commit

Permalink
Merge pull request #19 from SumiMakito/develop
Browse files Browse the repository at this point in the history
Fixed the issue #18;
  • Loading branch information
sumimakito authored Jun 16, 2017
2 parents 1e608e3 + 2bc1878 commit 4ed2531
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.github.sumimakito.awesomeqrsample"
minSdkVersion 19
targetSdkVersion 25
versionCode 10
versionName "1.9"
versionCode 11
versionName "1.10"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,11 @@ private void generate(final String contents, final int size, final int margin, f
.renderAsync(new AwesomeQRCode.Callback() {
@Override
public void onRendered(AwesomeQRCode.Renderer renderer, final Bitmap bitmap) {
qrBitmap = bitmap;
runOnUiThread(new Runnable() {
@Override
public void run() {
qrCodeImageView.setImageBitmap(bitmap);
qrCodeImageView.setImageBitmap(qrBitmap);
configViewContainer.setVisibility(View.GONE);
resultViewContainer.setVisibility(View.VISIBLE);
if (progressDialog != null) progressDialog.dismiss();
Expand Down

0 comments on commit 4ed2531

Please sign in to comment.