Add flattr
This commit is contained in:
@@ -220,6 +220,8 @@ android {
|
||||
buildConfigField "String", "PAYPAL_USER", "null"
|
||||
buildConfigField "String", "PAYPAL_CURRENCY_CODE", "null"
|
||||
buildConfigField "String", "BITCOIN_ADDRESS", "null"
|
||||
buildConfigField "String", "FLATTR_PROJECT_URL", "null"
|
||||
buildConfigField "String", "FLATTR_URL", "null"
|
||||
}
|
||||
fdroid {
|
||||
buildConfigField "boolean", "DONATIONS_GOOGLE", "false"
|
||||
@@ -227,6 +229,8 @@ android {
|
||||
buildConfigField "String", "PAYPAL_USER", "\"dominik@sufficientlysecure.org\""
|
||||
buildConfigField "String", "PAYPAL_CURRENCY_CODE", "\"EUR\""
|
||||
buildConfigField "String", "BITCOIN_ADDRESS", "\"1JZfAKTbTU5LJTkDELhPUF4Xa6VstEZgz6\""
|
||||
buildConfigField "String", "FLATTR_PROJECT_URL", "\"https://www.openkeychain.org\""
|
||||
buildConfigField "String", "FLATTR_URL", "\"flattr.com/submit/auto?fid=4vzg0p&url=https%3A%2F%2Fwww.openkeychain.org\""
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -104,6 +104,9 @@ public class HelpActivity extends BaseActivity {
|
||||
donationsBundle.putString(DonationsFragment.ARG_PAYPAL_USER, BuildConfig.PAYPAL_USER);
|
||||
donationsBundle.putString(DonationsFragment.ARG_PAYPAL_ITEM_NAME,
|
||||
getString(R.string.help_donation_paypal_item));
|
||||
donationsBundle.putBoolean(DonationsFragment.ARG_FLATTR_ENABLED, true);
|
||||
donationsBundle.putString(DonationsFragment.ARG_FLATTR_PROJECT_URL, BuildConfig.FLATTR_PROJECT_URL);
|
||||
donationsBundle.putString(DonationsFragment.ARG_FLATTR_URL, BuildConfig.FLATTR_URL);
|
||||
donationsBundle.putBoolean(DonationsFragment.ARG_BITCOIN_ENABLED, true);
|
||||
donationsBundle.putString(DonationsFragment.ARG_BITCOIN_ADDRESS, BuildConfig.BITCOIN_ADDRESS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user