Code comments clarifying features being hidden on some servers
This commit is contained in:
parent
f146067cda
commit
9426a9bc59
|
@ -991,7 +991,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
|
|||
else hidePrivateNote();
|
||||
invalidateOptionsMenu();
|
||||
actionButton.setVisibility(View.VISIBLE);
|
||||
notifyButton.setVisibility(relationship.following && !isInstanceIceshrimpJs() ? View.VISIBLE : View.GONE);
|
||||
notifyButton.setVisibility(relationship.following && !isInstanceIceshrimpJs() ? View.VISIBLE : View.GONE); // always hide notify button on Iceshrimp-JS because it's unsupported on the server
|
||||
UiUtils.setRelationshipToActionButtonM3(relationship, actionButton);
|
||||
actionProgress.setIndeterminateTintList(actionButton.getTextColors());
|
||||
notifyProgress.setIndeterminateTintList(notifyButton.getTextColors());
|
||||
|
|
|
@ -64,7 +64,7 @@ public class SettingsMainFragment extends BaseSettingsFragment<Void>{
|
|||
));
|
||||
|
||||
Instance instance=AccountSessionManager.getInstance().getInstanceInfo(account.domain);
|
||||
if(!instance.isAkkoma() && !instance.isIceshrimp()){
|
||||
if(!instance.isAkkoma() && !instance.isIceshrimp()){ // hide filter settings on Akkoma and Iceshrimp because the servers don't support the feature
|
||||
data.add(3, new ListItem<>(R.string.settings_filters, 0, R.drawable.ic_fluent_filter_24_regular, this::onFiltersClick));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue