mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
ui: Corrected '&' to '&&' in boolean if statement.
The use of non-short-circuit logic in a boolean context is likely a mistake - one that could cause serious program errors as conditions are evaluated under the wrong circumstances.
This commit is contained in:
parent
3c5cc68005
commit
58e4360630
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ public class UserInfoActivity extends FileActivity {
|
|||
}
|
||||
|
||||
if (userInfo.getPhone() == null && userInfo.getEmail() == null && userInfo.getAddress() == null
|
||||
&& userInfo.getTwitter() == null & userInfo.getWebsite() == null) {
|
||||
&& userInfo.getTwitter() == null && userInfo.getWebsite() == null) {
|
||||
|
||||
setErrorMessageForMultiList(getString(R.string.userinfo_no_info_headline),
|
||||
getString(R.string.userinfo_no_info_text), R.drawable.ic_user);
|
||||
|
|
Loading…
Reference in a new issue