Work fork of an Android Jabber client for bridge users git.sr.ht/~singpolyma/cheogram-android
sopranica sgx xmpp jabber
0

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'investigate-activity-not-found' of https://git.secluded.site/cheogram-android

* 'investigate-activity-not-found' of https://git.secluded.site/cheogram-android:
Show toast when can't open privacy policy

Stephen Paul Weber (Apr 7, 2026, 1:25 PM -0500) 7ceed707 fc9ba35b

+12 -3
+12 -3
src/cheogram/java/eu/siacs/conversations/ui/WelcomeActivity.java
··· 160 160 binding.buttonNext.setOnClickListener((v) -> 161 161 binding.slideshowPager.setCurrentItem(binding.slideshowPager.getCurrentItem() + 1) 162 162 ); 163 - binding.buttonPrivacy.setOnClickListener((v) -> 164 - startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://cheogram.com/android-privacy.html"))) 165 - ); 163 + binding.buttonPrivacy.setOnClickListener( 164 + (v) -> { 165 + try { 166 + startActivity( 167 + new Intent( 168 + Intent.ACTION_VIEW, 169 + Uri.parse("https://cheogram.com/android-privacy.html"))); 170 + } catch (final ActivityNotFoundException e) { 171 + Toast.makeText(this, R.string.no_application_found_to_open_link, Toast.LENGTH_SHORT) 172 + .show(); 173 + } 174 + }); 166 175 configureActionBar(getSupportActionBar(), false); 167 176 binding.registerNewAccount.setOnClickListener(v -> { 168 177 if (hasInviteUri()) {