Issue with Misskey "no instances"
This commit is contained in:
parent
d2b5a3c391
commit
73b40d2373
|
@ -508,7 +508,7 @@ public abstract class BaseMainActivity extends BaseActivity
|
||||||
j++;
|
j++;
|
||||||
}
|
}
|
||||||
if (remoteInstance.getType() == null || remoteInstance.getType().equals("MISSKEY")) {
|
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)
|
if( itemPlaceHolder != null)
|
||||||
itemPlaceHolder.setVisible(false);
|
itemPlaceHolder.setVisible(false);
|
||||||
MenuItem item = submMisskey.add(0, l, Menu.NONE, remoteInstance.getHost());
|
MenuItem item = submMisskey.add(0, l, Menu.NONE, remoteInstance.getHost());
|
||||||
|
|
Loading…
Reference in New Issue