Update supported links

Updated the "supported links" list in the AndroidManifest.xml to match lemmy instances instead of reddit links.

Reference: https://github.com/dessalines/jerboa/blob/main/app/src/main/AndroidManifest.xml
This commit is contained in:
Balazs Toldi 2023-07-28 21:16:11 +02:00
parent e815a1444d
commit d926fabe09
No known key found for this signature in database
GPG Key ID: 6C7D440036F99D58
2 changed files with 74 additions and 14 deletions

View File

@ -291,18 +291,70 @@
<data android:scheme="https" />
<data android:scheme="http" />
<data android:host="www.reddit.com" />
<data android:host="reddit.com" />
<data android:host="v.redd.it" />
<data android:host="amp.reddit.com" />
<data android:host="m.reddit.com" />
<data android:host="old.reddit.com" />
<data android:host="new.reddit.com" />
<data android:host="np.reddit.com" />
<data android:host="reddit.app.link" />
<data android:host="redd.it" />
<data android:host="s.reddit.com" />
<data android:host="click.redditmail.com" />
<data android:host="lemmy.world" />
<data android:host="lemmy.ml" />
<data android:host="beehaw.org" />
<data android:host="lemm.ee" />
<data android:host="sh.itjust.works" />
<data android:host="feddit.de" />
<data android:host="lemmy.fmhy.ml" />
<data android:host="lemmy.ca" />
<data android:host="www.hexbear.net" />
<data android:host="programming.dev" />
<data android:host="lemmy.dbzer0.com" />
<data android:host="lemmy.blahaj.zone" />
<data android:host="lemmy.one" />
<data android:host="vlemmy.net" />
<data android:host="lemmy.sdf.org" />
<data android:host="discuss.tchncs.de" />
<data android:host="lemmygrad.ml" />
<data android:host="sopuli.xyz" />
<data android:host="reddthat.com" />
<data android:host="aussie.zone" />
<data android:host="feddit.uk" />
<data android:host="feddit.nl" />
<data android:host="midwest.social" />
<data android:host="infosec.pub" />
<data android:host="feddit.it" />
<data android:host="ttrpg.network" />
<data android:host="pawb.social" />
<data android:host="lemmy.zip" />
<data android:host="startrek.website" />
<data android:host="burggit.moe" />
<data android:host="slrpnk.net" />
<data android:host="mander.xyz" />
<data android:host="lemmy.eco.br" />
<data android:host="lemmy.nz" />
<data android:host="dormi.zone" />
<data android:host="exploding-heads.com" />
<data android:host="delraymisfitsboard.com" />
<data android:host="monyet.cc" />
<data android:host="feddit.dk" />
<data android:host="lemmy.pt" />
<data android:host="szmer.info" />
<data android:host="yiffit.net" />
<data android:host="geddit.social" />
<data android:host="waveform.social" />
<data android:host="discuss.online" />
<data android:host="monero.town" />
<data android:host="feddit.cl" />
<data android:host="iusearchlinux.fyi" />
<data android:host="dataterm.digital" />
<data android:host="lemmy.whynotdrs.org" />
<data android:host="feddit.ch" />
<data android:host="enterprise.lemmy.ml" />
<data android:host="lemmy.run" />
<data android:host="jlai.lu" />
<data android:host="pornlemmy.com" />
<data android:host="lemdro.id" />
<data android:host="lemmyrs.org" />
<data android:host="latte.isnot.coffee" />
<data android:host="feddit.nu" />
<data android:host="lemmy.film" />
<data android:host="bakchodi.org" />
<data android:host="mujico.org" />
<data android:host="lemmy.studio" />
<data android:host="lemmy.toldi.eu" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />

View File

@ -41,10 +41,18 @@ public class ParseSubredditData {
}
int id = community.getInt("id");
String name = community.getString("name");
String description = community.getString("description");
String description = "";
if (!community.isNull("description")) {
description = community.getString("description");
}
boolean removed = community.getBoolean("removed");
String published = community.getString("published");
String updated = community.getString("updated");
String updated = "";
if (!community.isNull("updated")) {
updated = community.getString("updated");
}
boolean deleted = community.getBoolean("deleted");
String actorId = community.getString("actor_id");