mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 22:15:41 +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,14 +381,18 @@ public class SettingsController extends BaseController {
|
|||
@Override
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
super.onAnimationEnd(animation);
|
||||
if (messageView != null) {
|
||||
messageView.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
} else {
|
||||
if (messageView != null) {
|
||||
messageView.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
|
|
Loading…
Reference in a new issue