mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
fix to hide dialog automatically after 2,5 seconds
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
9b8ea52024
commit
a22b93f363
@ -1023,9 +1023,15 @@ public class ConversationsListController extends BaseController implements Searc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe(threadMode = ThreadMode.BACKGROUND)
|
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||||
public void onMessageEvent(ConversationsListFetchDataEvent conversationsListFetchDataEvent) {
|
public void onMessageEvent(ConversationsListFetchDataEvent conversationsListFetchDataEvent) {
|
||||||
fetchData();
|
fetchData();
|
||||||
|
|
||||||
|
new Handler().postDelayed(() -> {
|
||||||
|
if (conversationsListBottomDialog.isShowing()) {
|
||||||
|
conversationsListBottomDialog.dismiss();
|
||||||
|
}
|
||||||
|
}, 2500);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void showDeleteConversationDialog(Bundle savedInstanceState) {
|
private void showDeleteConversationDialog(Bundle savedInstanceState) {
|
||||||
|
Loading…
Reference in New Issue
Block a user