Fix crash when trying to share sack trace

Closes #80
This commit is contained in:
Balazs Toldi 2023-08-10 20:44:26 +02:00
parent b3c2f6213d
commit 21b111cc2d
No known key found for this signature in database
GPG Key ID: 6C7D440036F99D58

View File

@ -105,7 +105,7 @@ public class CrashReportsFragment extends Fragment {
} catch (UnsupportedEncodingException e) { } catch (UnsupportedEncodingException e) {
return false; return false;
} }
Uri githubIssueUri = Uri.parse(String.format("https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy/issues/new?template=.gitea%2fissue_template%2fbug_report.md", model, appVersion, androidVersion, logs)); Uri githubIssueUri = Uri.parse(String.format("https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy/issues/new?template=.gitea/issue_template/bug_report.md&body=%s", logs));
intent.setData(githubIssueUri); intent.setData(githubIssueUri);
startActivity(intent); startActivity(intent);
return true; return true;