mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
Use consistent styling for dialogs. #296
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package org.briarproject.android.contact;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.DialogInterface.OnMultiChoiceClickListener;
|
||||
import android.support.v7.app.AlertDialog;
|
||||
|
||||
import org.briarproject.R;
|
||||
import org.briarproject.api.contact.Contact;
|
||||
@@ -37,7 +37,8 @@ public class SelectContactsDialog implements OnMultiChoiceClickListener {
|
||||
public Dialog build(Context ctx) {
|
||||
if (listener == null || contacts == null || selected == null)
|
||||
throw new IllegalStateException();
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(ctx);
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(ctx,
|
||||
R.style.BriarDialogTheme);
|
||||
int size = contacts.size();
|
||||
String[] names = new String[size];
|
||||
boolean[] checked = new boolean[size];
|
||||
|
||||
Reference in New Issue
Block a user