Skip to content

Commit

Permalink
move snackbar to root view
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed May 6, 2022
1 parent 1a3e816 commit 6a7982c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/app/grapheneos/pdfviewer/PdfViewer.java
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ public void onZoomEnd() {
// loader manager impl so that the result will be delivered.
LoaderManager.getInstance(this);

snackbar = Snackbar.make(binding.webview, "", Snackbar.LENGTH_LONG);
snackbar = Snackbar.make(binding.getRoot(), "", Snackbar.LENGTH_LONG);

final Intent intent = getIntent();
if (Intent.ACTION_VIEW.equals(intent.getAction())) {
Expand Down

0 comments on commit 6a7982c

Please sign in to comment.