Fixes
This commit is contained in:
parent
761cadbcc7
commit
0182763b58
|
@ -1 +1 @@
|
|||
109.txt
|
||||
110.txt
|
|
@ -13,7 +13,7 @@ android {
|
|||
applicationId "org.joinmastodon.android"
|
||||
minSdk 23
|
||||
targetSdk 34
|
||||
versionCode 109
|
||||
versionCode 110
|
||||
versionName "2.6.0"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
@ -199,7 +199,7 @@ public class SettingsMainFragment extends BaseSettingsFragment<Void>{
|
|||
}
|
||||
|
||||
private void onDonateClick(ListItem<?> item){
|
||||
GetDonationCampaigns req=new GetDonationCampaigns(Locale.getDefault().toLanguageTag().replace('-', '_'), String.valueOf(AccountSessionManager.get(accountID).getDonationSeed()), null);
|
||||
GetDonationCampaigns req=new GetDonationCampaigns(Locale.getDefault().toLanguageTag().replace('-', '_'), String.valueOf(AccountSessionManager.get(accountID).getDonationSeed()), "menu");
|
||||
if(getActivity().getSharedPreferences("debug", Context.MODE_PRIVATE).getBoolean("donationsStaging", false)){
|
||||
req.setStaging(true);
|
||||
}
|
||||
|
|
|
@ -142,13 +142,13 @@ public class DonationSheet extends BottomSheet{
|
|||
btn.setTextColor(context.getResources().getColorStateList(R.color.filter_chip_text, context.getTheme()));
|
||||
btn.setMinWidth(V.dp(64));
|
||||
btn.setMinimumWidth(0);
|
||||
int pad=V.dp(16);
|
||||
btn.setPadding(pad, 0, pad, 0);
|
||||
btn.setPadding(0, 0, 0, 0);
|
||||
btn.setStateListAnimator(null);
|
||||
btn.setTextOff(null);
|
||||
btn.setTextOn(null);
|
||||
btn.setOnClickListener(this::onSuggestedAmountClick);
|
||||
btn.setTag(i);
|
||||
btn.setSingleLine();
|
||||
suggestedAmountButtons[i]=btn;
|
||||
suggestedAmounts.addView(btn);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue