capacitor-extended-dialog 0.0.7 → 0.0.8

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,7 +297,7 @@ 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(ctx, null, com.google.android.material.R.attr.borderlessButtonStyle);
300
+ MaterialButton cancelBtn = new MaterialButton(ctx, null, android.R.attr.borderlessButtonStyle);
301
301
  cancelBtn.setText(cancelButton);
302
302
  cancelBtn.setBackgroundTintList(ColorStateList.valueOf(android.graphics.Color.TRANSPARENT));
303
303
  cancelBtn.setRippleColor(ColorStateList.valueOf(primaryColorValue & 0x1FFFFFFF));
@@ -317,7 +317,7 @@ public class FullScreenDialogFragment extends DialogFragment {
317
317
  }
318
318
 
319
319
  // OK button
320
- okBtn = new MaterialButton(ctx, null, com.google.android.material.R.attr.borderlessButtonStyle);
320
+ okBtn = new MaterialButton(ctx, null, android.R.attr.borderlessButtonStyle);
321
321
  okBtn.setText(okButton);
322
322
  okBtn.setBackgroundTintList(ColorStateList.valueOf(android.graphics.Color.TRANSPARENT));
323
323
  okBtn.setRippleColor(ColorStateList.valueOf(primaryColorValue & 0x1FFFFFFF));
@@ -251,7 +251,7 @@ public class SheetBottomDialogFragment extends BottomSheetDialogFragment {
251
251
  buttonContainer.addView(confirmBtn);
252
252
 
253
253
  // Cancel button (text-only style, no background fill)
254
- MaterialButton cancelBtn = new MaterialButton(ctx, null, com.google.android.material.R.attr.borderlessButtonStyle);
254
+ MaterialButton cancelBtn = new MaterialButton(ctx, null, android.R.attr.borderlessButtonStyle);
255
255
  cancelBtn.setText(cancelButton);
256
256
  cancelBtn.setOnClickListener(v -> {
257
257
  handleCancel();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-extended-dialog",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Show native dialogs and sheets in Capacitor with Material 3 and Liquid Glass UI",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",