mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-21 20:45:29 +03:00
Fix a bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
fdaa69f489
commit
8aee1afa2b
2 changed files with 7 additions and 3 deletions
|
@ -549,8 +549,8 @@ public class CallActivity extends AppCompatActivity {
|
|||
Set<String> oldSesssions = new HashSet<>();
|
||||
|
||||
for (HashMap<String, String> participant : users) {
|
||||
Object inCallObject = participant.get("inCall");
|
||||
if (!participant.get("sessionId").equals(callSession)) {
|
||||
Object inCallObject = participant.get("inCall");
|
||||
if ((boolean) inCallObject) {
|
||||
newSessions.add(participant.get("sessionId"));
|
||||
} else {
|
||||
|
|
|
@ -381,12 +381,16 @@ public class SettingsController extends BaseController {
|
|||
@Override
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
super.onAnimationEnd(animation);
|
||||
messageView.setVisibility(View.GONE);
|
||||
if (messageView != null) {
|
||||
messageView.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
} else {
|
||||
messageView.setVisibility(View.GONE);
|
||||
if (messageView != null) {
|
||||
messageView.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue