diff --git a/app/src/main/java/eu/toldi/infinityforlemmy/activities/LinkResolverActivity.java b/app/src/main/java/eu/toldi/infinityforlemmy/activities/LinkResolverActivity.java
index d5546a8d..295e7c8c 100644
--- a/app/src/main/java/eu/toldi/infinityforlemmy/activities/LinkResolverActivity.java
+++ b/app/src/main/java/eu/toldi/infinityforlemmy/activities/LinkResolverActivity.java
@@ -488,7 +488,7 @@ public class LinkResolverActivity extends AppCompatActivity {
String authority = uri.getAuthority();
if(authority != null && (authority.contains("reddit.com") || authority.contains("redd.it") || authority.contains("reddit.app.link"))) {
- openInCustomTabs(uri, pm, false);
+ openInBrowser(uri, pm, false);
return;
}
diff --git a/app/src/main/java/eu/toldi/infinityforlemmy/settings/CreditsPreferenceFragment.java b/app/src/main/java/eu/toldi/infinityforlemmy/settings/CreditsPreferenceFragment.java
index cc595d0c..39a42802 100644
--- a/app/src/main/java/eu/toldi/infinityforlemmy/settings/CreditsPreferenceFragment.java
+++ b/app/src/main/java/eu/toldi/infinityforlemmy/settings/CreditsPreferenceFragment.java
@@ -34,6 +34,16 @@ public class CreditsPreferenceFragment extends CustomFontPreferenceFragmentCompa
Preference ufoAndCowPreference = findPreference(SharedPreferencesUtils.UFO_CAPTURING_ANIMATION);
Preference loveAnimationPreference = findPreference(SharedPreferencesUtils.LOVE_ANIMATION);
Preference lockScreenPreference = findPreference(SharedPreferencesUtils.LOCK_SCREEN_ANIMATION);
+ Preference originalAppPreference = findPreference(SharedPreferencesUtils.ORIGINAL_APP);
+
+ if (originalAppPreference != null) {
+ originalAppPreference.setOnPreferenceClickListener(preference -> {
+ Intent intent = new Intent(activity, LinkResolverActivity.class);
+ intent.setData(Uri.parse("https://www.reddit.com/user/Hostilenemy/"));
+ startActivity(intent);
+ return true;
+ });
+ }
if (iconForegroundPreference != null) {
iconForegroundPreference.setOnPreferenceClickListener(preference -> {
diff --git a/app/src/main/java/eu/toldi/infinityforlemmy/utils/SharedPreferencesUtils.java b/app/src/main/java/eu/toldi/infinityforlemmy/utils/SharedPreferencesUtils.java
index 568e2393..1433c4ce 100644
--- a/app/src/main/java/eu/toldi/infinityforlemmy/utils/SharedPreferencesUtils.java
+++ b/app/src/main/java/eu/toldi/infinityforlemmy/utils/SharedPreferencesUtils.java
@@ -217,6 +217,8 @@ public class SharedPreferencesUtils {
public static final String USE_BOTTOM_TOOLBAR_IN_MEDIA_VIEWER = "use_bottom_toolbar_in_media_viewer";
public static final String HIDE_ACCOUNT_KARMA_NAV_BAR = "hide_account_karma";
public static final String LOCK_SCREEN_ANIMATION = "lock_screen_animation";
+
+ public static final String ORIGINAL_APP = "original_app";
public static final String ENABLE_FOLD_SUPPORT = "enable_fold_support";
public static final String LOOP_VIDEO = "loop_video";
public static final String DEFAULT_PLAYBACK_SPEED = "default_playback_speed";
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 963570d7..4829fb76 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1452,4 +1452,6 @@
Original Icon
New app icon (Cosmic Lemmy)
Made by David Gerla
+ The original Reddit app
+ "Infinity was created by u/Hostilenemy "
\ No newline at end of file
diff --git a/app/src/main/res/xml/credits_preferences.xml b/app/src/main/res/xml/credits_preferences.xml
index 048bb014..011f1ee2 100644
--- a/app/src/main/res/xml/credits_preferences.xml
+++ b/app/src/main/res/xml/credits_preferences.xml
@@ -2,6 +2,12 @@
+
+
+