fix: recents URL not showing after open in share menu

This commit is contained in:
FineFindus 2023-03-25 20:24:34 +01:00
parent 903e844aad
commit a4d07d4307
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
1 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,7 @@
package org.joinmastodon.android;
import android.app.Fragment;
import android.app.assist.AssistContent;
import android.content.ClipData;
import android.content.Intent;
import android.net.Uri;
@ -101,4 +102,11 @@ public class ExternalShareActivity extends FragmentStackActivity{
return null;
return new ArrayList<>(l);
}
@Override
public void onProvideAssistContent(AssistContent outContent) {
super.onProvideAssistContent(outContent);
outContent.setWebUri(Uri.parse(DomainManager.getInstance().getCurrentDomain()));
}
}