Compare commits

...

2 Commits

Author SHA1 Message Date
Balazs Toldi
d9f9fb51db
Fix instance info activity card background colours 2023-08-23 11:21:19 +02:00
Balazs Toldi
a8b2091e69
Bump version 2023-08-22 22:18:03 +02:00
3 changed files with 25 additions and 2 deletions

View File

@ -21,8 +21,8 @@ android {
applicationId "eu.toldi.infinityforlemmy" applicationId "eu.toldi.infinityforlemmy"
minSdk 21 minSdk 21
targetSdk 33 targetSdk 33
versionCode 128 versionCode 129
versionName "0.0.8" versionName "0.1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions { javaCompileOptions {
annotationProcessorOptions { annotationProcessorOptions {

View File

@ -204,6 +204,9 @@ public class InstanceInfoActivity extends BaseActivity {
protected void applyCustomTheme() { protected void applyCustomTheme() {
coordinatorLayout.setBackgroundColor(mCustomThemeWrapper.getBackgroundColor()); coordinatorLayout.setBackgroundColor(mCustomThemeWrapper.getBackgroundColor());
applyAppBarLayoutAndCollapsingToolbarLayoutAndToolbarTheme(appBarLayout, null, toolbar); applyAppBarLayoutAndCollapsingToolbarLayoutAndToolbarTheme(appBarLayout, null, toolbar);
mStatisticsCardView.setCardBackgroundColor(mCustomThemeWrapper.getCardViewBackgroundColor());
mDescriptionCardView.setCardBackgroundColor(mCustomThemeWrapper.getCardViewBackgroundColor());
mAdminsCardView.setCardBackgroundColor(mCustomThemeWrapper.getCardViewBackgroundColor());
mUsersImageView.setColorFilter(mCustomThemeWrapper.getPrimaryTextColor(), PorterDuff.Mode.SRC_IN); mUsersImageView.setColorFilter(mCustomThemeWrapper.getPrimaryTextColor(), PorterDuff.Mode.SRC_IN);
mCommunitiesImageView.setColorFilter(mCustomThemeWrapper.getPrimaryTextColor(), PorterDuff.Mode.SRC_IN); mCommunitiesImageView.setColorFilter(mCustomThemeWrapper.getPrimaryTextColor(), PorterDuff.Mode.SRC_IN);
mPostsImageView.setColorFilter(mCustomThemeWrapper.getPrimaryTextColor(), PorterDuff.Mode.SRC_IN); mPostsImageView.setColorFilter(mCustomThemeWrapper.getPrimaryTextColor(), PorterDuff.Mode.SRC_IN);

20
scripts/commits-between-tags.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
# get the latest two tags
tags=$(git tag --sort=-creatordate | head -n 2)
# split tags into an array
tag_array=($tags)
# check if there are enough tags
if [ ${#tag_array[@]} -lt 2 ]; then
echo "Not enough tags in the repository. Need at least two tags."
exit 1
fi
# get the latest two tags
latest_tag=${tag_array[0]}
second_latest_tag=${tag_array[1]}
# extract short hashes and full commit messages without pager
git --no-pager log --pretty=format:"%h - %B" $second_latest_tag..$latest_tag