Issue with Misskey "no instances"

This commit is contained in:
stom79 2019-01-02 11:35:36 +01:00
parent d2b5a3c391
commit 73b40d2373
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ public abstract class BaseMainActivity extends BaseActivity
j++;
}
if (remoteInstance.getType() == null || remoteInstance.getType().equals("MISSKEY")) {
MenuItem itemPlaceHolder = submPixelfed.findItem(R.id.misskey_instance);
MenuItem itemPlaceHolder = submMisskey.findItem(R.id.misskey_instance);
if( itemPlaceHolder != null)
itemPlaceHolder.setVisible(false);
MenuItem item = submMisskey.add(0, l, Menu.NONE, remoteInstance.getHost());