fixed recreation issues in StartConversationActivity
This commit is contained in:
parent
f7d8580969
commit
aca7054174
|
@ -51,7 +51,6 @@
|
|||
</activity>
|
||||
<activity
|
||||
android:name=".ui.StartConversationActivity"
|
||||
android:configChanges="orientation|screenSize"
|
||||
android:label="@string/title_activity_start_conversation"
|
||||
android:launchMode="singleTask">
|
||||
<intent-filter>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package eu.siacs.conversations.ui;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
|
@ -120,8 +121,9 @@ public class EnterJidDialog {
|
|||
this.listener = listener;
|
||||
}
|
||||
|
||||
public void show() {
|
||||
public Dialog show() {
|
||||
this.dialog.show();
|
||||
this.dialog.getButton(AlertDialog.BUTTON_POSITIVE).setOnClickListener(this.dialogOnClick);
|
||||
return this.dialog;
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue