Loading app/build.gradle +2 −2 Original line number Diff line number Diff line Loading @@ -13,8 +13,8 @@ android { defaultConfig { minSdk 21 targetSdk 33 versionCode 486 versionName "3.20.3" versionCode 487 versionName "3.21.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } flavorDimensions "default" Loading app/src/main/assets/release_notes/notes.json +5 −0 Original line number Diff line number Diff line [ { "version": "3.21.0", "code": "487", "note": "Added:\n- Dedicated Peertube entry in main menu (My app)\n- Select instances (Instances picker with Filters)\n- Comment/Boost/Fav Peertube videos with Mastodon accounts\n\nFixed:\n- Fix a crash when searching and with the user directory" }, { "version": "3.20.3", "code": "486", Loading app/src/main/java/app/fedilab/android/mastodon/activities/ProfileActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -362,7 +362,7 @@ public class ProfileActivity extends BaseActivity { if (account.locked) { Drawable img = ContextCompat.getDrawable(ProfileActivity.this, R.drawable.ic_baseline_lock_24); assert img != null; img.setBounds(0, 0, (int) (16 * scale + 0.5f), (int) (16 * scale + 0.5f)); img.setBounds(0, 0, (int) (Helper.convertDpToPixel(14, this) * scale + 0.5f), (int) (Helper.convertDpToPixel(14, this) * scale + 0.5f)); binding.accountUn.setCompoundDrawables(null, null, img, null); } else { binding.accountUn.setCompoundDrawables(null, null, null, null); Loading Loading @@ -399,7 +399,7 @@ public class ProfileActivity extends BaseActivity { binding.accountMoved.setVisibility(View.VISIBLE); Drawable imgTravel = ContextCompat.getDrawable(ProfileActivity.this, R.drawable.ic_baseline_card_travel_24); assert imgTravel != null; imgTravel.setBounds(0, 0, (int) (20 * scale + 0.5f), (int) (20 * scale + 0.5f)); imgTravel.setBounds(0, 0, (int) (Helper.convertDpToPixel(20, this) * scale + 0.5f), (int) (Helper.convertDpToPixel(20, this) * scale + 0.5f)); binding.accountMoved.setCompoundDrawables(imgTravel, null, null, null); //Retrieves content and make account names clickable SpannableString spannableString = SpannableHelper.moveToText(ProfileActivity.this, account); Loading src/fdroid/fastlane/metadata/android/en/changelogs/487.txt 0 → 100644 +7 −0 Original line number Diff line number Diff line Added: - Dedicated Peertube entry in main menu (My app) - Select instances (Instances picker with Filters) - Comment/Boost/Fav Peertube videos with Mastodon accounts Fixed: - Fix a crash when searching and with the user directory No newline at end of file Loading
app/build.gradle +2 −2 Original line number Diff line number Diff line Loading @@ -13,8 +13,8 @@ android { defaultConfig { minSdk 21 targetSdk 33 versionCode 486 versionName "3.20.3" versionCode 487 versionName "3.21.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } flavorDimensions "default" Loading
app/src/main/assets/release_notes/notes.json +5 −0 Original line number Diff line number Diff line [ { "version": "3.21.0", "code": "487", "note": "Added:\n- Dedicated Peertube entry in main menu (My app)\n- Select instances (Instances picker with Filters)\n- Comment/Boost/Fav Peertube videos with Mastodon accounts\n\nFixed:\n- Fix a crash when searching and with the user directory" }, { "version": "3.20.3", "code": "486", Loading
app/src/main/java/app/fedilab/android/mastodon/activities/ProfileActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -362,7 +362,7 @@ public class ProfileActivity extends BaseActivity { if (account.locked) { Drawable img = ContextCompat.getDrawable(ProfileActivity.this, R.drawable.ic_baseline_lock_24); assert img != null; img.setBounds(0, 0, (int) (16 * scale + 0.5f), (int) (16 * scale + 0.5f)); img.setBounds(0, 0, (int) (Helper.convertDpToPixel(14, this) * scale + 0.5f), (int) (Helper.convertDpToPixel(14, this) * scale + 0.5f)); binding.accountUn.setCompoundDrawables(null, null, img, null); } else { binding.accountUn.setCompoundDrawables(null, null, null, null); Loading Loading @@ -399,7 +399,7 @@ public class ProfileActivity extends BaseActivity { binding.accountMoved.setVisibility(View.VISIBLE); Drawable imgTravel = ContextCompat.getDrawable(ProfileActivity.this, R.drawable.ic_baseline_card_travel_24); assert imgTravel != null; imgTravel.setBounds(0, 0, (int) (20 * scale + 0.5f), (int) (20 * scale + 0.5f)); imgTravel.setBounds(0, 0, (int) (Helper.convertDpToPixel(20, this) * scale + 0.5f), (int) (Helper.convertDpToPixel(20, this) * scale + 0.5f)); binding.accountMoved.setCompoundDrawables(imgTravel, null, null, null); //Retrieves content and make account names clickable SpannableString spannableString = SpannableHelper.moveToText(ProfileActivity.this, account); Loading
src/fdroid/fastlane/metadata/android/en/changelogs/487.txt 0 → 100644 +7 −0 Original line number Diff line number Diff line Added: - Dedicated Peertube entry in main menu (My app) - Select instances (Instances picker with Filters) - Comment/Boost/Fav Peertube videos with Mastodon accounts Fixed: - Fix a crash when searching and with the user directory No newline at end of file