capacitor-extended-dialog 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -297,8 +297,9 @@ public class FullScreenDialogFragment extends DialogFragment {
|
|
|
297
297
|
|
|
298
298
|
// Cancel button (not shown for ALERT type)
|
|
299
299
|
if (type != DialogType.ALERT) {
|
|
300
|
-
MaterialButton cancelBtn = new MaterialButton(
|
|
301
|
-
com.google.android.material.R.
|
|
300
|
+
MaterialButton cancelBtn = new MaterialButton(
|
|
301
|
+
new ContextThemeWrapper(ctx, com.google.android.material.R.style.Widget_Material3_Button_TextButton),
|
|
302
|
+
null, 0);
|
|
302
303
|
cancelBtn.setText(cancelButton);
|
|
303
304
|
cancelBtn.setOnClickListener((v) -> {
|
|
304
305
|
handleCancel();
|
|
@@ -316,8 +317,9 @@ public class FullScreenDialogFragment extends DialogFragment {
|
|
|
316
317
|
}
|
|
317
318
|
|
|
318
319
|
// OK button
|
|
319
|
-
okBtn = new MaterialButton(
|
|
320
|
-
com.google.android.material.R.
|
|
320
|
+
okBtn = new MaterialButton(
|
|
321
|
+
new ContextThemeWrapper(ctx, com.google.android.material.R.style.Widget_Material3_Button_TextButton),
|
|
322
|
+
null, 0);
|
|
321
323
|
okBtn.setText(okButton);
|
|
322
324
|
okBtn.setOnClickListener((v) -> {
|
|
323
325
|
handleConfirm(type);
|
|
@@ -250,8 +250,9 @@ public class SheetBottomDialogFragment extends BottomSheetDialogFragment {
|
|
|
250
250
|
buttonContainer.addView(confirmBtn);
|
|
251
251
|
|
|
252
252
|
// Cancel button
|
|
253
|
-
MaterialButton cancelBtn = new MaterialButton(
|
|
254
|
-
com.google.android.material.R.
|
|
253
|
+
MaterialButton cancelBtn = new MaterialButton(
|
|
254
|
+
new ContextThemeWrapper(ctx, com.google.android.material.R.style.Widget_Material3_Button_TextButton),
|
|
255
|
+
null, 0);
|
|
255
256
|
cancelBtn.setText(cancelButton);
|
|
256
257
|
cancelBtn.setOnClickListener(v -> {
|
|
257
258
|
handleCancel();
|
package/package.json
CHANGED