Transaction Fee Add Lower
MODIFY
bither-android/res/values/strings.xml
bither-android/res/values/strings.xml
<string name="setting_name_transaction_fee_10x">10x</string>
<string name="setting_name_transaction_fee_20x">20x</string>
<string name="setting_name_transaction_fee_low">Low</string>
+ <string name="setting_name_transaction_fee_lower">Lower</string>
<string name="setting_name_transaction_fee_normal_note">fast confirmation</string>
<string name="setting_name_transaction_fee_low_note">slow confirmation</string>
<string name="setting_name_transaction_fee_high_note">high priority</string>

MODIFY
bither-android/src/net/bither/BitherApplication.java
bither-android/src/net/bither/BitherApplication.java
@@ -205,8 +205,7 @@ public class BitherApplication extends Application {
int updateCode = appSharedPreference.getUpdateCode();
if (updateCode == -1) {
- appSharedPreference.setTransactionFeeMode(BitherjSettings.TransactionFeeMode.TwentyX);
-
+ appSharedPreference.setTransactionFeeMode(BitherjSettings.TransactionFeeMode.Normal);
appSharedPreference.setUpdateCode(FEE_UPDATE_CODE);
}
}

MODIFY
bither-android/src/net/bither/fragment/hot/OptionHotFragment.java
bither-android/src/net/bither/fragment/hot/OptionHotFragment.java
@@ -314,6 +314,8 @@ public class OptionHotFragment extends Fragment implements Selectable,
return getString(R.string.setting_name_transaction_fee_high);
case Low:
return getString(R.string.setting_name_transaction_fee_low);
+ case Lower:
+ return getString(R.string.setting_name_transaction_fee_lower);
default:
return getString(R.string.setting_name_transaction_fee_normal);
}
@@ -339,6 +341,8 @@ public class OptionHotFragment extends Fragment implements Selectable,
return 0;
case Low:
return 5;
+ case Lower:
+ return 6;
default:
return 4;
}
@@ -359,6 +363,8 @@ public class OptionHotFragment extends Fragment implements Selectable,
return BitherjSettings.TransactionFeeMode.TenX;
case 0:
return BitherjSettings.TransactionFeeMode.TwentyX;
+ case 6:
+ return BitherjSettings.TransactionFeeMode.Lower;
}
}
return BitherjSettings.TransactionFeeMode.Normal;
@@ -377,6 +383,8 @@ public class OptionHotFragment extends Fragment implements Selectable,
return getFeeStr(BitherjSettings.TransactionFeeMode.Higher);
case High:
return getFeeStr(BitherjSettings.TransactionFeeMode.High);
+ case Lower:
+ return getFeeStr(BitherjSettings.TransactionFeeMode.Lower);
default:
return getFeeStr(BitherjSettings.TransactionFeeMode.Normal);
}

MODIFY
bither-android/src/net/bither/preference/AppSharedPreference.java
bither-android/src/net/bither/preference/AppSharedPreference.java
@@ -135,7 +135,7 @@ public class AppSharedPreference {
if (ordinal < BitherjSettings.TransactionFeeMode.values().length && ordinal >= 0) {
return BitherjSettings.TransactionFeeMode.values()[ordinal];
}
- return BitherjSettings.TransactionFeeMode.TenX;
+ return BitherjSettings.TransactionFeeMode.Normal;
}
public void setTransactionFeeMode(BitherjSettings.TransactionFeeMode mode) {

MODIFY
bitherj
bitherj
-Subproject commit 2aaa7e1af09a1d877f5c771f25ef40ca8db103c4
+Subproject commit 4f43fd531b10ea53488a5ea0eb4b0a590c19c952

Transaction Fee Add Lower