Fix store screenshot generator

This commit is contained in:
Grishka 2023-06-29 22:17:59 +03:00
parent 287de66e0c
commit f58b4c2989
2 changed files with 5 additions and 4 deletions

View File

@ -91,8 +91,8 @@ dependencies {
appcenterPublicBetaImplementation "com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}"
appcenterPublicBetaImplementation "com.microsoft.appcenter:appcenter-distribute:${appCenterSdkVersion}"
androidTestImplementation 'androidx.test:core:1.4.1-alpha05'
androidTestImplementation 'androidx.test.ext:junit:1.1.4-alpha05'
androidTestImplementation 'androidx.test:runner:1.5.0-alpha02'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0-alpha05'
androidTestImplementation 'androidx.test:core:1.5.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}

View File

@ -287,6 +287,7 @@ public class ComposeMediaViewController{
DraftMediaAttachment draft=new DraftMediaAttachment();
draft.uri=uri;
draft.description=description;
draft.mimeType="image/jpeg";
attachmentsView.addView(createMediaAttachmentView(draft));
attachments.add(draft);
attachmentsScroller.setVisibility(View.VISIBLE);