Loading app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java +2 −1 Original line number Diff line number Diff line Loading @@ -1471,7 +1471,8 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> boolean autoplaygif = sharedpreferences.getBoolean(context.getString(R.string.SET_AUTO_PLAY_GIG_MEDIA), true); if (!fullAttachement || statusToDeal.sensitive) { int defaultHeight = (int) Helper.convertDpToPixel(300, context); if (measuredWidth > 0) { int orientation = context.getResources().getConfiguration().orientation; if (orientation == Configuration.ORIENTATION_PORTRAIT && measuredWidth > 0) { defaultHeight = (int) (measuredWidth * 3) / 4; } LinearLayoutCompat.LayoutParams lp = new LinearLayoutCompat.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, defaultHeight); Loading src/fdroid/fastlane/metadata/android/en/changelogs/484.txt +2 −1 Original line number Diff line number Diff line Loading @@ -9,3 +9,4 @@ Changed: Fixed: - Some settings not properly restored (multiple choices) - Cancel a follow request - Media with a lot of height in landscape No newline at end of file Loading
app/src/main/java/app/fedilab/android/mastodon/ui/drawer/StatusAdapter.java +2 −1 Original line number Diff line number Diff line Loading @@ -1471,7 +1471,8 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> boolean autoplaygif = sharedpreferences.getBoolean(context.getString(R.string.SET_AUTO_PLAY_GIG_MEDIA), true); if (!fullAttachement || statusToDeal.sensitive) { int defaultHeight = (int) Helper.convertDpToPixel(300, context); if (measuredWidth > 0) { int orientation = context.getResources().getConfiguration().orientation; if (orientation == Configuration.ORIENTATION_PORTRAIT && measuredWidth > 0) { defaultHeight = (int) (measuredWidth * 3) / 4; } LinearLayoutCompat.LayoutParams lp = new LinearLayoutCompat.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, defaultHeight); Loading
src/fdroid/fastlane/metadata/android/en/changelogs/484.txt +2 −1 Original line number Diff line number Diff line Loading @@ -9,3 +9,4 @@ Changed: Fixed: - Some settings not properly restored (multiple choices) - Cancel a follow request - Media with a lot of height in landscape No newline at end of file