Skip to content

Commit 51100cb

Browse files
committed
Remove save card feature
1 parent 808e104 commit 51100cb

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

README-pt-BR.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ Você pode aplicar uma nova aparência alterando a cor de certas partes da inter
150150
<item name="OTPHeaderStyle">@style/otpHeaderStyle</item>
151151
<item name="TabLayoutStyle">@style/tabLayoutStyle</item>
152152
<item name="PinHeaderStyle">@style/pinHeaderStyle</item>
153-
<item name="SavedCardButtonStyle">@style/svdCardsBtnStyle</item>
154153
</style>
155154
## Configurando Proguard
156155
Para configurar o Proguard, adicione as seguintes linhas ao seu arquivo de configuração. Eles manterão os arquivos relacionados a este sdk

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The minimum supported SDK version is 15
2828
**Step 2.** Add the dependency
2929

3030
dependencies {
31-
implementation 'com.github.Flutterwave:rave-android:1.0.42'
31+
implementation 'com.github.Flutterwave:rave-android:1.0.44'
3232
}
3333

3434
**Step 3.** Add the required permission
@@ -158,7 +158,6 @@ First specify the theme in your `styles.xml` file. In this theme, you can edit t
158158
<item name="OTPHeaderStyle">@style/otpHeaderStyle2</item>
159159
<item name="TabLayoutStyle">@style/tabLayoutStyle2</item>
160160
<item name="PinHeaderStyle">@style/pinHeaderStyle2</item>
161-
<item name="SavedCardButtonStyle">@style/svdCardsBtnStyle2</item>
162161
<item name="PaymentTileStyle">@style/myPaymentTileStyle</item>
163162
<item name="PaymentTileTextStyle">@style/myPaymentTileTextStyle</item>
164163
<item name="PaymentTileDividerStyle">@style/myPaymentTileDividerStyle</item>

raveandroid/src/main/java/com/flutterwave/raveandroid/RavePayManager.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public class RavePayManager {
5050
private Activity activity;
5151
private int theme = R.style.DefaultTheme;
5252
boolean staging = true;
53-
boolean allowSaveCard = true;
5453
boolean isPreAuth = false;
5554
boolean showStagingLabel = true;
5655
boolean displayFee = true;
@@ -63,11 +62,6 @@ public ArrayList<Integer> getOrderedPaymentTypesList() {
6362
return orderedPaymentTypesList;
6463
}
6564

66-
public RavePayManager allowSaveCardFeature(boolean allowSaveCard) {
67-
this.allowSaveCard = allowSaveCard;
68-
return this;
69-
}
70-
7165
public RavePayManager onStagingEnv(boolean staging) {
7266
this.staging = staging;
7367
return this;

raveandroid/src/main/res/layout/fragment_card.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<android.support.design.widget.CoordinatorLayout
2-
xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:app="http://schemas.android.com/apk/res-auto"
1+
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
42
xmlns:tools="http://schemas.android.com/tools"
53
android:descendantFocusability="beforeDescendants"
64
android:focusableInTouchMode="true"
@@ -134,6 +132,7 @@
134132
android:layout_marginBottom="20dp"
135133
android:layout_marginLeft="10dp"
136134
android:layout_marginRight="10dp"
135+
android:visibility="gone"
137136
android:text="@string/save_card"
138137
android:id="@+id/rave_saveCardSwitch"
139138
/>

0 commit comments

Comments
 (0)