fix deeplink

This commit is contained in:
otsmr 2026-01-25 13:32:28 +01:00
parent 462dedc17d
commit fb93d0c9ec
2 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,6 @@
<intent-filter> <intent-filter>
<action android:name="android.intent.action.SEND" /> <action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" /> <data android:scheme="http" />
<data android:scheme="https" /> <data android:scheme="https" />
<data android:host="*" /> <data android:host="*" />

View file

@ -49,8 +49,9 @@ class MastodonPostCard extends StatelessWidget {
if (info.desc != null && info.desc != 'null') if (info.desc != null && info.desc != 'null')
Text( Text(
substringBy( substringBy(
info.desc!.replaceAll('Attached: 1 image', '').trim(), info.desc!.replaceAll('Attached: 1 image', '').trim(),
info.image == null ? 500 : 300), info.image == null ? 500 : 300,
),
style: const TextStyle(color: Colors.white, fontSize: 14), style: const TextStyle(color: Colors.white, fontSize: 14),
), ),
if (info.image != null && info.image != 'null') if (info.image != null && info.image != 'null')