mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-08-20 06:51:45 +02:00
Compare commits
4 Commits
0c8e3e3ea5
...
55bbef25c6
Author | SHA1 | Date | |
---|---|---|---|
|
55bbef25c6 | ||
|
32c75ff87c | ||
|
468bae4019 | ||
|
e8b199a74a |
@@ -1,13 +1,13 @@
|
||||
steps:
|
||||
build:
|
||||
image: alvrme/alpine-android:android-34-jdk11
|
||||
image: alvrme/alpine-android:android-34-jdk17
|
||||
commands:
|
||||
- apk add --no-cache python3
|
||||
- ./gradlew :app:assembleRelease
|
||||
when:
|
||||
path: [ app/**, build.gradle ]
|
||||
sign:
|
||||
image: alvrme/alpine-android:android-34-jdk11
|
||||
image: alvrme/alpine-android:android-34-jdk17
|
||||
commands:
|
||||
- ./scripts/apk-sign.sh Eternity-signed.apk app/build/outputs/apk/release/app-release-unsigned.apk
|
||||
secrets: [ APK_KS_PASS, APK_KS, APK_KS_ALIAS ]
|
||||
|
@@ -6,12 +6,12 @@ clone:
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: alvrme/alpine-android:android-34-jdk11
|
||||
image: alvrme/alpine-android:android-34-jdk17
|
||||
commands:
|
||||
- apk add --no-cache python3
|
||||
- ./gradlew :app:assembleNightly
|
||||
sign:
|
||||
image: alvrme/alpine-android:android-34-jdk11
|
||||
image: alvrme/alpine-android:android-34-jdk17
|
||||
commands:
|
||||
- ./scripts/apk-sign.sh eu.toldi.infinityforlemmy.nightly.apk app/build/outputs/apk/nightly/eu.toldi.infinityforlemmy.nightly.apk
|
||||
secrets: [ APK_KS_PASS, APK_KS, APK_KS_ALIAS ]
|
||||
|
@@ -1802,7 +1802,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
||||
public PostDetailBaseVideoAutoplayViewHolder(@NonNull View itemView,
|
||||
AspectRatioGifImageView iconGifImageView,
|
||||
TextView subredditTextView,
|
||||
TextView communityInstance,
|
||||
TextView userTextView,
|
||||
TextView userInstanceTextView,
|
||||
TextView authorFlairTextView,
|
||||
TextView postTimeTextView,
|
||||
TextView titleTextView,
|
||||
@@ -1828,6 +1830,7 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
||||
ConstraintLayout bottomConstraintLayout,
|
||||
MaterialButton upvoteButton,
|
||||
TextView scoreTextView,
|
||||
TextView downvoteTextView,
|
||||
MaterialButton downvoteButton,
|
||||
MaterialButton commentsCountButton,
|
||||
MaterialButton saveButton,
|
||||
@@ -1835,9 +1838,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
||||
super(itemView);
|
||||
setBaseView(iconGifImageView,
|
||||
subredditTextView,
|
||||
mCommunityInstanceTextView,
|
||||
communityInstance,
|
||||
userTextView,
|
||||
mUserInstanceTextView,
|
||||
userInstanceTextView,
|
||||
authorFlairTextView,
|
||||
postTimeTextView,
|
||||
titleTextView,
|
||||
@@ -1854,7 +1857,7 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
||||
bottomConstraintLayout,
|
||||
upvoteButton,
|
||||
scoreTextView,
|
||||
mDownvoteTextView,
|
||||
downvoteTextView,
|
||||
downvoteButton,
|
||||
commentsCountButton,
|
||||
saveButton,
|
||||
@@ -2075,7 +2078,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
||||
super(binding.getRoot(),
|
||||
binding.iconGifImageViewItemPostDetailVideoAutoplay,
|
||||
binding.subredditTextViewItemPostDetailVideoAutoplay,
|
||||
binding.communityInstanceTextViewItemPostDetailVideoAutoplay,
|
||||
binding.userTextViewItemPostDetailVideoAutoplay,
|
||||
binding.userInstanceTextViewItemPostDetailVideoAutoplay,
|
||||
binding.authorFlairTextViewItemPostDetailVideoAutoplay,
|
||||
binding.postTimeTextViewItemPostDetailVideoAutoplay,
|
||||
binding.titleTextViewItemPostDetailVideoAutoplay,
|
||||
@@ -2101,6 +2106,7 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
||||
binding.bottomConstraintLayoutItemPostDetailVideoAutoplay,
|
||||
binding.upvoteButtonItemPostDetailVideoAutoplay,
|
||||
binding.scoreTextViewItemPostDetailVideoAutoplay,
|
||||
binding.downvoteTextViewItemPostDetailVideoAutoplay,
|
||||
binding.downvoteButtonItemPostDetailVideoAutoplay,
|
||||
binding.commentsCountButtonItemPostDetailVideoAutoplay,
|
||||
binding.saveButtonItemPostDetailVideoAutoplay,
|
||||
@@ -2113,7 +2119,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
||||
super(binding.getRoot(),
|
||||
binding.iconGifImageViewItemPostDetailVideoAutoplay,
|
||||
binding.subredditTextViewItemPostDetailVideoAutoplay,
|
||||
binding.communityInstanceTextViewItemPostDetailVideoAutoplay,
|
||||
binding.userTextViewItemPostDetailVideoAutoplay,
|
||||
binding.userInstanceTextViewItemPostDetailVideoAutoplay,
|
||||
binding.authorFlairTextViewItemPostDetailVideoAutoplay,
|
||||
binding.postTimeTextViewItemPostDetailVideoAutoplay,
|
||||
binding.titleTextViewItemPostDetailVideoAutoplay,
|
||||
@@ -2139,6 +2147,7 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter<Recycler
|
||||
binding.bottomConstraintLayoutItemPostDetailVideoAutoplay,
|
||||
binding.upvoteButtonItemPostDetailVideoAutoplay,
|
||||
binding.scoreTextViewItemPostDetailVideoAutoplay,
|
||||
binding.downvoteTextViewItemPostDetailVideoAutoplay,
|
||||
binding.downvoteButtonItemPostDetailVideoAutoplay,
|
||||
binding.commentsCountButtonItemPostDetailVideoAutoplay,
|
||||
binding.saveButtonItemPostDetailVideoAutoplay,
|
||||
|
@@ -263,69 +263,64 @@ public class CustomTheme {
|
||||
customTheme.readPostFilledCardViewBackgroundColor = customThemeSettingsItems.get(23).colorValue;
|
||||
customTheme.commentBackgroundColor = customThemeSettingsItems.get(24).colorValue;
|
||||
customTheme.fullyCollapsedCommentBackgroundColor = customThemeSettingsItems.get(25).colorValue;
|
||||
customTheme.awardedCommentBackgroundColor = customThemeSettingsItems.get(26).colorValue;
|
||||
customTheme.receivedMessageBackgroundColor = customThemeSettingsItems.get(27).colorValue;
|
||||
customTheme.sentMessageBackgroundColor = customThemeSettingsItems.get(28).colorValue;
|
||||
customTheme.bottomAppBarBackgroundColor = customThemeSettingsItems.get(29).colorValue;
|
||||
customTheme.primaryIconColor = customThemeSettingsItems.get(30).colorValue;
|
||||
customTheme.bottomAppBarIconColor = customThemeSettingsItems.get(31).colorValue;
|
||||
customTheme.postIconAndInfoColor = customThemeSettingsItems.get(32).colorValue;
|
||||
customTheme.commentIconAndInfoColor = customThemeSettingsItems.get(33).colorValue;
|
||||
customTheme.fabIconColor = customThemeSettingsItems.get(34).colorValue;
|
||||
customTheme.sendMessageIconColor = customThemeSettingsItems.get(35).colorValue;
|
||||
customTheme.toolbarPrimaryTextAndIconColor = customThemeSettingsItems.get(36).colorValue;
|
||||
customTheme.toolbarSecondaryTextColor = customThemeSettingsItems.get(37).colorValue;
|
||||
customTheme.circularProgressBarBackground = customThemeSettingsItems.get(38).colorValue;
|
||||
customTheme.mediaIndicatorIconColor = customThemeSettingsItems.get(39).colorValue;
|
||||
customTheme.mediaIndicatorBackgroundColor = customThemeSettingsItems.get(40).colorValue;
|
||||
customTheme.tabLayoutWithExpandedCollapsingToolbarTabBackground = customThemeSettingsItems.get(41).colorValue;
|
||||
customTheme.tabLayoutWithExpandedCollapsingToolbarTextColor = customThemeSettingsItems.get(42).colorValue;
|
||||
customTheme.tabLayoutWithExpandedCollapsingToolbarTabIndicator = customThemeSettingsItems.get(43).colorValue;
|
||||
customTheme.tabLayoutWithCollapsedCollapsingToolbarTabBackground = customThemeSettingsItems.get(44).colorValue;
|
||||
customTheme.tabLayoutWithCollapsedCollapsingToolbarTextColor = customThemeSettingsItems.get(45).colorValue;
|
||||
customTheme.tabLayoutWithCollapsedCollapsingToolbarTabIndicator = customThemeSettingsItems.get(46).colorValue;
|
||||
customTheme.upvoted = customThemeSettingsItems.get(47).colorValue;
|
||||
customTheme.downvoted = customThemeSettingsItems.get(48).colorValue;
|
||||
customTheme.postTypeBackgroundColor = customThemeSettingsItems.get(49).colorValue;
|
||||
customTheme.postTypeTextColor = customThemeSettingsItems.get(50).colorValue;
|
||||
customTheme.spoilerBackgroundColor = customThemeSettingsItems.get(51).colorValue;
|
||||
customTheme.spoilerTextColor = customThemeSettingsItems.get(52).colorValue;
|
||||
customTheme.nsfwBackgroundColor = customThemeSettingsItems.get(53).colorValue;
|
||||
customTheme.nsfwTextColor = customThemeSettingsItems.get(54).colorValue;
|
||||
customTheme.flairBackgroundColor = customThemeSettingsItems.get(55).colorValue;
|
||||
customTheme.flairTextColor = customThemeSettingsItems.get(56).colorValue;
|
||||
customTheme.awardsBackgroundColor = customThemeSettingsItems.get(57).colorValue;
|
||||
customTheme.awardsTextColor = customThemeSettingsItems.get(58).colorValue;
|
||||
customTheme.archivedTint = customThemeSettingsItems.get(59).colorValue;
|
||||
customTheme.lockedIconTint = customThemeSettingsItems.get(60).colorValue;
|
||||
customTheme.crosspostIconTint = customThemeSettingsItems.get(61).colorValue;
|
||||
customTheme.upvoteRatioIconTint = customThemeSettingsItems.get(62).colorValue;
|
||||
customTheme.stickiedPostIconTint = customThemeSettingsItems.get(63).colorValue;
|
||||
customTheme.noPreviewPostTypeIconTint = customThemeSettingsItems.get(64).colorValue;
|
||||
customTheme.subscribed = customThemeSettingsItems.get(65).colorValue;
|
||||
customTheme.unsubscribed = customThemeSettingsItems.get(66).colorValue;
|
||||
customTheme.username = customThemeSettingsItems.get(67).colorValue;
|
||||
customTheme.subreddit = customThemeSettingsItems.get(68).colorValue;
|
||||
customTheme.authorFlairTextColor = customThemeSettingsItems.get(69).colorValue;
|
||||
customTheme.submitter = customThemeSettingsItems.get(70).colorValue;
|
||||
customTheme.moderator = customThemeSettingsItems.get(71).colorValue;
|
||||
customTheme.currentUser = customThemeSettingsItems.get(72).colorValue;
|
||||
customTheme.singleCommentThreadBackgroundColor = customThemeSettingsItems.get(73).colorValue;
|
||||
customTheme.unreadMessageBackgroundColor = customThemeSettingsItems.get(74).colorValue;
|
||||
customTheme.dividerColor = customThemeSettingsItems.get(75).colorValue;
|
||||
customTheme.noPreviewPostTypeBackgroundColor = customThemeSettingsItems.get(76).colorValue;
|
||||
customTheme.voteAndReplyUnavailableButtonColor = customThemeSettingsItems.get(77).colorValue;
|
||||
customTheme.commentVerticalBarColor1 = customThemeSettingsItems.get(78).colorValue;
|
||||
customTheme.commentVerticalBarColor2 = customThemeSettingsItems.get(79).colorValue;
|
||||
customTheme.commentVerticalBarColor3 = customThemeSettingsItems.get(80).colorValue;
|
||||
customTheme.commentVerticalBarColor4 = customThemeSettingsItems.get(81).colorValue;
|
||||
customTheme.commentVerticalBarColor5 = customThemeSettingsItems.get(82).colorValue;
|
||||
customTheme.commentVerticalBarColor6 = customThemeSettingsItems.get(83).colorValue;
|
||||
customTheme.commentVerticalBarColor7 = customThemeSettingsItems.get(84).colorValue;
|
||||
customTheme.navBarColor = customThemeSettingsItems.get(85).colorValue;
|
||||
customTheme.isLightStatusBar = customThemeSettingsItems.get(86).isEnabled;
|
||||
customTheme.isLightNavBar = customThemeSettingsItems.get(87).isEnabled;
|
||||
customTheme.isChangeStatusBarIconColorAfterToolbarCollapsedInImmersiveInterface = customThemeSettingsItems.get(88).isEnabled;
|
||||
customTheme.receivedMessageBackgroundColor = customThemeSettingsItems.get(26).colorValue;
|
||||
customTheme.sentMessageBackgroundColor = customThemeSettingsItems.get(27).colorValue;
|
||||
customTheme.bottomAppBarBackgroundColor = customThemeSettingsItems.get(28).colorValue;
|
||||
customTheme.primaryIconColor = customThemeSettingsItems.get(29).colorValue;
|
||||
customTheme.bottomAppBarIconColor = customThemeSettingsItems.get(30).colorValue;
|
||||
customTheme.postIconAndInfoColor = customThemeSettingsItems.get(31).colorValue;
|
||||
customTheme.commentIconAndInfoColor = customThemeSettingsItems.get(32).colorValue;
|
||||
customTheme.fabIconColor = customThemeSettingsItems.get(33).colorValue;
|
||||
customTheme.sendMessageIconColor = customThemeSettingsItems.get(34).colorValue;
|
||||
customTheme.toolbarPrimaryTextAndIconColor = customThemeSettingsItems.get(35).colorValue;
|
||||
customTheme.toolbarSecondaryTextColor = customThemeSettingsItems.get(36).colorValue;
|
||||
customTheme.circularProgressBarBackground = customThemeSettingsItems.get(37).colorValue;
|
||||
customTheme.mediaIndicatorIconColor = customThemeSettingsItems.get(38).colorValue;
|
||||
customTheme.mediaIndicatorBackgroundColor = customThemeSettingsItems.get(39).colorValue;
|
||||
customTheme.tabLayoutWithExpandedCollapsingToolbarTabBackground = customThemeSettingsItems.get(40).colorValue;
|
||||
customTheme.tabLayoutWithExpandedCollapsingToolbarTextColor = customThemeSettingsItems.get(41).colorValue;
|
||||
customTheme.tabLayoutWithExpandedCollapsingToolbarTabIndicator = customThemeSettingsItems.get(42).colorValue;
|
||||
customTheme.tabLayoutWithCollapsedCollapsingToolbarTabBackground = customThemeSettingsItems.get(43).colorValue;
|
||||
customTheme.tabLayoutWithCollapsedCollapsingToolbarTextColor = customThemeSettingsItems.get(44).colorValue;
|
||||
customTheme.tabLayoutWithCollapsedCollapsingToolbarTabIndicator = customThemeSettingsItems.get(45).colorValue;
|
||||
customTheme.upvoted = customThemeSettingsItems.get(46).colorValue;
|
||||
customTheme.downvoted = customThemeSettingsItems.get(47).colorValue;
|
||||
customTheme.postTypeBackgroundColor = customThemeSettingsItems.get(48).colorValue;
|
||||
customTheme.postTypeTextColor = customThemeSettingsItems.get(49).colorValue;
|
||||
customTheme.spoilerBackgroundColor = customThemeSettingsItems.get(50).colorValue;
|
||||
customTheme.spoilerTextColor = customThemeSettingsItems.get(51).colorValue;
|
||||
customTheme.nsfwBackgroundColor = customThemeSettingsItems.get(52).colorValue;
|
||||
customTheme.nsfwTextColor = customThemeSettingsItems.get(53).colorValue;
|
||||
customTheme.archivedTint = customThemeSettingsItems.get(54).colorValue;
|
||||
customTheme.lockedIconTint = customThemeSettingsItems.get(55).colorValue;
|
||||
customTheme.crosspostIconTint = customThemeSettingsItems.get(56).colorValue;
|
||||
customTheme.upvoteRatioIconTint = customThemeSettingsItems.get(57).colorValue;
|
||||
customTheme.stickiedPostIconTint = customThemeSettingsItems.get(58).colorValue;
|
||||
customTheme.noPreviewPostTypeIconTint = customThemeSettingsItems.get(59).colorValue;
|
||||
customTheme.subscribed = customThemeSettingsItems.get(60).colorValue;
|
||||
customTheme.unsubscribed = customThemeSettingsItems.get(61).colorValue;
|
||||
customTheme.username = customThemeSettingsItems.get(62).colorValue;
|
||||
customTheme.subreddit = customThemeSettingsItems.get(63).colorValue;
|
||||
customTheme.submitter = customThemeSettingsItems.get(64).colorValue;
|
||||
customTheme.moderator = customThemeSettingsItems.get(65).colorValue;
|
||||
customTheme.currentUser = customThemeSettingsItems.get(66).colorValue;
|
||||
customTheme.singleCommentThreadBackgroundColor = customThemeSettingsItems.get(67).colorValue;
|
||||
customTheme.unreadMessageBackgroundColor = customThemeSettingsItems.get(68).colorValue;
|
||||
customTheme.dividerColor = customThemeSettingsItems.get(69).colorValue;
|
||||
customTheme.noPreviewPostTypeBackgroundColor = customThemeSettingsItems.get(70).colorValue;
|
||||
customTheme.voteAndReplyUnavailableButtonColor = customThemeSettingsItems.get(71).colorValue;
|
||||
customTheme.commentVerticalBarColor1 = customThemeSettingsItems.get(72).colorValue;
|
||||
customTheme.commentVerticalBarColor2 = customThemeSettingsItems.get(73).colorValue;
|
||||
customTheme.commentVerticalBarColor3 = customThemeSettingsItems.get(74).colorValue;
|
||||
customTheme.commentVerticalBarColor4 = customThemeSettingsItems.get(75).colorValue;
|
||||
customTheme.commentVerticalBarColor5 = customThemeSettingsItems.get(76).colorValue;
|
||||
customTheme.commentVerticalBarColor6 = customThemeSettingsItems.get(77).colorValue;
|
||||
customTheme.commentVerticalBarColor7 = customThemeSettingsItems.get(78).colorValue;
|
||||
customTheme.navBarColor = customThemeSettingsItems.get(79).colorValue;
|
||||
customTheme.isLightStatusBar = customThemeSettingsItems.get(80).isEnabled;
|
||||
customTheme.isLightNavBar = customThemeSettingsItems.get(81).isEnabled;
|
||||
customTheme.isChangeStatusBarIconColorAfterToolbarCollapsedInImmersiveInterface = customThemeSettingsItems.get(82).isEnabled;
|
||||
|
||||
|
||||
return customTheme;
|
||||
}
|
||||
|
@@ -831,7 +831,7 @@ public class CustomThemeWrapper {
|
||||
customTheme.colorPrimary = Color.parseColor("#FFFFFF");
|
||||
customTheme.colorPrimaryDark = Color.parseColor("#FFFFFF");
|
||||
customTheme.colorAccent = Color.parseColor("#000000");
|
||||
customTheme.colorPrimaryLightTheme = Color.parseColor("#FFFFFF");
|
||||
customTheme.colorPrimaryLightTheme = Color.parseColor("#000000");
|
||||
customTheme.primaryTextColor = Color.parseColor("#000000");
|
||||
customTheme.secondaryTextColor = Color.parseColor("#8A000000");
|
||||
customTheme.postTitleColor = Color.parseColor("#000000");
|
||||
@@ -839,7 +839,7 @@ public class CustomThemeWrapper {
|
||||
customTheme.readPostTitleColor = Color.parseColor("#9D9D9D");
|
||||
customTheme.readPostContentColor = Color.parseColor("#9D9D9D");
|
||||
customTheme.commentColor = Color.parseColor("#000000");
|
||||
customTheme.buttonTextColor = Color.parseColor("#000000");
|
||||
customTheme.buttonTextColor = Color.parseColor("#FFFFFF");
|
||||
customTheme.backgroundColor = Color.parseColor("#FFFFFF");
|
||||
customTheme.cardViewBackgroundColor = Color.parseColor("#FFFFFF");
|
||||
customTheme.readPostCardViewBackgroundColor = Color.parseColor("#F5F5F5");
|
||||
|
@@ -239,7 +239,7 @@ public class SubredditListingFragment extends Fragment implements FragmentCommun
|
||||
}
|
||||
|
||||
public void changeSortType(SortType sortType) {
|
||||
mSortTypeSharedPreferences.edit().putString(SharedPreferencesUtils.SORT_TYPE_SEARCH_SUBREDDIT, sortType.getType().name()).apply();
|
||||
mSortTypeSharedPreferences.edit().putString(SharedPreferencesUtils.SORT_TYPE_SEARCH_SUBREDDIT, sortType.getType().value).apply();
|
||||
mSubredditListingViewModel.changeSortType(sortType);
|
||||
this.sortType = sortType;
|
||||
}
|
||||
|
Reference in New Issue
Block a user