mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-07 03:07:26 +01:00
Hide visibility option when creating or editing anonymous multireddit.
This commit is contained in:
parent
1896b971cd
commit
f5f6213733
@ -111,6 +111,10 @@ public class CreateMultiRedditActivity extends BaseActivity {
|
||||
mAccessToken = mCurrentAccountSharedPreferences.getString(SharedPreferencesUtils.ACCESS_TOKEN, null);
|
||||
mAccountName = mCurrentAccountSharedPreferences.getString(SharedPreferencesUtils.ACCOUNT_NAME, "-");
|
||||
|
||||
if (mAccessToken == null) {
|
||||
visibilityLinearLayout.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if (savedInstanceState != null) {
|
||||
mSubreddits = savedInstanceState.getStringArrayList(SELECTED_SUBREDDITS_STATE);
|
||||
} else {
|
||||
|
@ -120,6 +120,10 @@ public class EditMultiRedditActivity extends BaseActivity {
|
||||
mAccessToken = mCurrentAccountSharedPreferences.getString(SharedPreferencesUtils.ACCESS_TOKEN, null);
|
||||
mAccountName = mCurrentAccountSharedPreferences.getString(SharedPreferencesUtils.ACCOUNT_NAME, "-");
|
||||
|
||||
if (mAccessToken == null) {
|
||||
visibilityLinearLayout.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if (savedInstanceState != null) {
|
||||
multiReddit = savedInstanceState.getParcelable(MULTI_REDDIT_STATE);
|
||||
multipath = savedInstanceState.getString(MULTI_PATH_STATE);
|
||||
|
Loading…
Reference in New Issue
Block a user