mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-01 12:11:59 +00:00
controllers: removed identical sub-expression in if statement. (#529)
Using the same value on either side of a binary operator is almost always a mistake. Either there is supposed to be a null check for something else in there or the second sub expression should be removed. Signed-off-by: eho <edvard.holst@gmail.com>
This commit is contained in:
parent
be986de021
commit
017ee9e034
@ -445,7 +445,7 @@ public class CallNotificationController extends BaseController {
|
||||
script.forEach(output);
|
||||
output.copyTo(resource);
|
||||
|
||||
if (backgroundImageView != null && backgroundImageView != null) {
|
||||
if (backgroundImageView != null) {
|
||||
backgroundImageView.setImageDrawable(new BitmapDrawable(resource));
|
||||
}
|
||||
} else if (AvatarStatusCodeHolder.getInstance().getStatusCode() == 201) {
|
||||
|
Loading…
Reference in New Issue
Block a user