mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Use consistent styling for dialogs. #296
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package org.briarproject.android.forum;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.support.v7.app.AlertDialog;
|
||||
|
||||
import org.briarproject.R;
|
||||
|
||||
@@ -17,7 +17,8 @@ public class NoContactsDialog {
|
||||
|
||||
public Dialog build(Context ctx) {
|
||||
if (listener == null) throw new IllegalStateException();
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(ctx);
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(ctx,
|
||||
R.style.BriarDialogTheme);
|
||||
builder.setMessage(R.string.no_contacts_prompt);
|
||||
builder.setPositiveButton(R.string.add_button,
|
||||
new DialogInterface.OnClickListener() {
|
||||
|
||||
Reference in New Issue
Block a user