From 5b8c4858830d73c9a3f8bcdeae8810740a6ea16b Mon Sep 17 00:00:00 2001 From: M M Arif Date: Sun, 8 Mar 2020 10:54:33 +0500 Subject: [PATCH] Fix variable name --- .../java/org/mian/gitnex/activities/FileViewActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/mian/gitnex/activities/FileViewActivity.java b/app/src/main/java/org/mian/gitnex/activities/FileViewActivity.java index ba336ed6..19ed4c6b 100644 --- a/app/src/main/java/org/mian/gitnex/activities/FileViewActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/FileViewActivity.java @@ -50,7 +50,7 @@ public class FileViewActivity extends BaseActivity { private PDFView pdfView; private LinearLayout pdfViewFrame; private byte[] decodedPdf; - private Boolean $nightMode; + private Boolean pdfNightMode; @Override protected int getLayoutResourceId(){ @@ -165,7 +165,7 @@ public class FileViewActivity extends BaseActivity { singleCodeContents.setVisibility(View.GONE); pdfViewFrame.setVisibility(View.VISIBLE); - $nightMode = tinyDb.getBoolean("enablePdfMode"); + pdfNightMode = tinyDb.getBoolean("enablePdfMode"); decodedPdf = Base64.decode(response.body().getContent(), Base64.DEFAULT); pdfView.fromBytes(decodedPdf) @@ -183,7 +183,7 @@ public class FileViewActivity extends BaseActivity { .fitEachPage(true) .pageSnap(false) .pageFling(true) - .nightMode($nightMode) + .nightMode(pdfNightMode) .load(); }