This commit is contained in:
Grishka 2024-07-10 01:01:31 +03:00
parent 761cadbcc7
commit 0182763b58
5 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
109.txt
110.txt

View File

@ -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"
}

View File

@ -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);
}

View File

@ -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);
}