Fix a crash with profiles

fix_513
Thomas 8 months ago
parent 096dc6e98c
commit 2f11eaf315

@ -432,7 +432,7 @@ public class FragmentMastodonTimeline extends Fragment implements StatusAdapter.
}
//When visiting a profile without being authenticated
if (checkRemotely) {
String[] acctArray = accountTimeline.acct.split("@");
String[] acctArray = accountTimeline!=null?accountTimeline.acct.split("@"):new String[]{};
if (acctArray.length > 1) {
remoteInstance = acctArray[1];
}

Loading…
Cancel
Save