Skip to content

Commit

Permalink
Merge pull request moodlehq#4220 from alfonso-salces/MOBILE-4616
Browse files Browse the repository at this point in the history
Mobile 4616
  • Loading branch information
crazyserver authored Oct 21, 2024
2 parents b88c7ba + ca1595d commit d533490
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/features/comments/pages/viewer/viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h1>

</core-loading>
</ion-content>
<ion-footer class="footer-adjustable" *ngIf="commentsLoaded && canAddComments">
<ion-footer class="footer-adjustable" id="viewer-footer" *ngIf="commentsLoaded && canAddComments">
<ion-toolbar>
<core-send-message-form [sendDisabled]="sending" [message]="newComment" (onSubmit)="addComment($event)"
[placeholder]="'core.comments.addcomment' | translate" />
Expand Down
2 changes: 2 additions & 0 deletions src/core/features/comments/pages/viewer/viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ export class CoreCommentsViewerPage implements OnInit, OnDestroy {
message: commentsResponse ? 'core.comments.eventcommentcreated' : 'core.datastoredoffline',
translateMessage: true,
duration: ToastDuration.LONG,
position: 'bottom',
positionAnchor: 'viewer-footer',
});

if (commentsResponse) {
Expand Down

0 comments on commit d533490

Please sign in to comment.