put values
This commit is contained in:
parent
9298f22b5d
commit
86c332a326
|
@ -115,6 +115,7 @@ public class ProfileActivity extends BaseActivity {
|
|||
private String account_id;
|
||||
private String mention_str;
|
||||
private WellKnownNodeinfo.NodeInfo nodeInfo;
|
||||
private boolean checkRemotely;
|
||||
|
||||
private final BroadcastReceiver broadcast_data = new BroadcastReceiver() {
|
||||
@Override
|
||||
|
@ -141,10 +142,12 @@ public class ProfileActivity extends BaseActivity {
|
|||
ActionBar actionBar = getSupportActionBar();
|
||||
Bundle b = getIntent().getExtras();
|
||||
binding.accountFollow.setEnabled(false);
|
||||
checkRemotely = false;
|
||||
if (b != null) {
|
||||
account = (Account) b.getSerializable(Helper.ARG_ACCOUNT);
|
||||
account_id = b.getString(Helper.ARG_USER_ID, null);
|
||||
mention_str = b.getString(Helper.ARG_MENTION, null);
|
||||
checkRemotely = b.getBoolean(Helper.ARG_CHECK_REMOTELY, false);
|
||||
}
|
||||
postponeEnterTransition();
|
||||
|
||||
|
|
|
@ -272,6 +272,7 @@ public class Helper {
|
|||
public static final String ARG_SHOW_PINNED = "ARG_SHOW_PINNED";
|
||||
public static final String ARG_SHOW_MEDIA_ONY = "ARG_SHOW_MEDIA_ONY";
|
||||
public static final String ARG_MENTION = "ARG_MENTION";
|
||||
public static final String ARG_CHECK_REMOTELY = "ARG_CHECK_REMOTELY";
|
||||
public static final String ARG_USER_ID = "ARG_USER_ID";
|
||||
public static final String ARG_MEDIA_ARRAY = "ARG_MEDIA_ARRAY";
|
||||
public static final String ARG_VISIBILITY = "ARG_VISIBILITY";
|
||||
|
|
Loading…
Reference in New Issue