File tree 1 file changed +2
-2
lines changed
app/src/main/java/localhost/toolkit/app/fragment
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ public Dialog onCreateDialog(Bundle savedInstanceState) {
37
37
builder .setMessage (getArguments ().getString (MESSAGE ));
38
38
if (getArguments ().containsKey (ICON ))
39
39
builder .setIcon (new BitmapDrawable (getResources (), (Bitmap ) getArguments ().getParcelable (ICON )));
40
- builder .setPositiveButton (getArguments ().containsKey (POSITIVE_BUTTON ) ? getString (android .R .string .ok ) : getArguments (). getString ( POSITIVE_BUTTON ), new OnClickListener () {
40
+ builder .setPositiveButton (getArguments ().containsKey (POSITIVE_BUTTON ) ? getArguments (). getString (POSITIVE_BUTTON ) : getString ( android .R .string .ok ), new OnClickListener () {
41
41
@ Override
42
42
public void onClick (DialogInterface dialog , int which ) {
43
43
assert getArguments () != null ;
44
44
getOnConfirmedListener ().onConfirmation (getArguments ().getSerializable (EXTRA ), DialogInterface .BUTTON_POSITIVE );
45
45
}
46
46
});
47
- builder .setNegativeButton (getArguments ().containsKey (NEGATIVE_BUTTON ) ? getString (android .R .string .cancel ) : getArguments (). getString ( NEGATIVE_BUTTON ), new OnClickListener () {
47
+ builder .setNegativeButton (getArguments ().containsKey (NEGATIVE_BUTTON ) ? getArguments (). getString (NEGATIVE_BUTTON ) : getString ( android .R .string .cancel ), new OnClickListener () {
48
48
@ Override
49
49
public void onClick (DialogInterface dialog , int which ) {
50
50
assert getArguments () != null ;
You can’t perform that action at this time.
0 commit comments