Null例外で落ちるバグの修正

This commit is contained in:
tateisu 2017-09-23 14:12:24 +09:00
parent d31a9aa043
commit ead53db202
2 changed files with 4 additions and 4 deletions

View File

@ -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"
}

View File

@ -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();