Update SponsorPostFragment.java

This commit is contained in:
gdlbo
2024-02-20 16:25:53 +03:00
parent cf99b8a838
commit f6a2412014
@@ -136,6 +136,18 @@ public class SponsorPostFragment extends TrackedMaterialPreferenceToolbarFragmen
return false;
}
);
PreferenceFragmentUtils.addPreference(
getPreferenceScreen(),
"",
"Телеграм чат",
"Помогите улучшить качество блокировки постов в нашем телеграм чате\n\nДля перехода в чат вам необходима последняя версия Telegram",
null,
preference -> {
requireContext().startActivity(new Intent(Intent.ACTION_VIEW).setData(Uri.parse("https://t.me/vtosterschat/3559729")));
return false;
}
);
}
requireActivity().runOnUiThread(() -> {
@@ -213,6 +225,18 @@ public class SponsorPostFragment extends TrackedMaterialPreferenceToolbarFragmen
}
);
PreferenceFragmentUtils.addPreference(
getPreferenceScreen(),
"",
"Телеграм чат",
"Помогите улучшить качество фильтров обсудив работу в нашем телеграм чате\n\nДля перехода в чат вам необходима последняя версия Telegram",
null,
preference -> {
requireContext().startActivity(new Intent(Intent.ACTION_VIEW).setData(Uri.parse("https://t.me/vtosterschat/3559732")));
return false;
}
);
PreferenceFragmentUtils.addPreference(
getPreferenceScreen(),
"",