Skip to content

Commit

Permalink
fix:web3 soft keyboard display bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ainibawoxianzai committed Jan 4, 2022
1 parent 8cbc151 commit bc89bcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web3lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ afterEvaluate {
from components.release
groupId = 'com.comingchat.web3'
artifactId = 'web3'
version = '1.0.2'
version = '1.0.3'
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion web3lib/src/main/java/coming/web3/Web3View.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.Resources;
import android.os.Build;
import android.util.AttributeSet;
import android.util.Log;
Expand Down Expand Up @@ -64,7 +65,7 @@ public Web3View(@NonNull Context context) {
}

public Web3View(@NonNull Context context, @Nullable AttributeSet attrs) {
this(context, attrs, 0);
this(context, attrs, Resources.getSystem().getIdentifier("webViewStyle","attr","android"));
}

public Web3View(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
Expand Down

0 comments on commit bc89bcb

Please sign in to comment.