mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-02-06 22:13:21 +01:00
bug fix
This commit is contained in:
parent
d391aca134
commit
3dff70d4b1
@ -392,7 +392,7 @@ public class UserProfile extends AppCompatActivity implements OnClickListener,
|
||||
switch (v.getId()) {
|
||||
case R.id.following:
|
||||
if (user != null && properties != null) {
|
||||
if (!user.isLocked() || properties.isFriend()) {
|
||||
if (!user.isLocked() || properties.isFriend() || isHome) {
|
||||
Intent following = new Intent(this, UserDetail.class);
|
||||
following.putExtra(KEY_USERDETAIL_ID, userId);
|
||||
following.putExtra(KEY_USERDETAIL_MODE, USERLIST_FRIENDS);
|
||||
@ -403,7 +403,7 @@ public class UserProfile extends AppCompatActivity implements OnClickListener,
|
||||
|
||||
case R.id.follower:
|
||||
if (user != null && properties != null) {
|
||||
if (!user.isLocked() || properties.isFriend()) {
|
||||
if (!user.isLocked() || properties.isFriend() || isHome) {
|
||||
Intent follower = new Intent(this, UserDetail.class);
|
||||
follower.putExtra(KEY_USERDETAIL_ID, userId);
|
||||
follower.putExtra(KEY_USERDETAIL_MODE, USERLIST_FOLLOWER);
|
||||
|
Loading…
x
Reference in New Issue
Block a user