Null例外で落ちるバグの修正
This commit is contained in:
parent
d31a9aa043
commit
ead53db202
|
@ -9,8 +9,8 @@ android {
|
|||
applicationId "jp.juggler.subwaytooter"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 26
|
||||
versionCode 161
|
||||
versionName "1.6.1"
|
||||
versionCode 162
|
||||
versionName "1.6.2"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
|
|
|
@ -415,9 +415,9 @@ public class PostHelper implements CustomEmojiLister.Callback {
|
|||
|
||||
private String instance;
|
||||
public void setInstance( String instance ){
|
||||
this.instance = instance.toLowerCase();
|
||||
this.instance = instance == null ? null :instance.toLowerCase();
|
||||
|
||||
App1.custom_emoji_lister.get( instance, PostHelper.this );
|
||||
App1.custom_emoji_lister.get( this.instance, PostHelper.this );
|
||||
|
||||
if( popup != null && popup.isShowing() ){
|
||||
proc_text_changed.run();
|
||||
|
|
Loading…
Reference in New Issue