From 377de120fd4d8451bb8efdebb2e2123cfb2aca08 Mon Sep 17 00:00:00 2001
From: Ampli-fier <22896574+Ampli-fier@users.noreply.github.com>
Date: Thu, 20 Jun 2019 16:30:29 +0200
Subject: [PATCH 1/3] Use camelCase syntax
---
src/org/thoughtcrime/securesms/LogViewFragment.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/org/thoughtcrime/securesms/LogViewFragment.java b/src/org/thoughtcrime/securesms/LogViewFragment.java
index c0c91ba98..a766a733b 100644
--- a/src/org/thoughtcrime/securesms/LogViewFragment.java
+++ b/src/org/thoughtcrime/securesms/LogViewFragment.java
@@ -87,8 +87,8 @@ public class LogViewFragment extends Fragment {
public Float getLogTextSize() { return logPreview.getTextSize(); }
- public void setLogTextSize(Float Textsize) {
- logPreview.setTextSize(TypedValue.COMPLEX_UNIT_PX, Textsize);
+ public void setLogTextSize(Float textSize) {
+ logPreview.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize);
}
public void scrollDownLog() { logPreview.setSelection(logPreview.getText().length()); }
From f254e1c829b8d305467876a45752fed170d910d3 Mon Sep 17 00:00:00 2001
From: Ampli-fier <22896574+Ampli-fier@users.noreply.github.com>
Date: Thu, 20 Jun 2019 22:35:27 +0200
Subject: [PATCH 2/3] Added saving the log to file
---
res/menu/view_log.xml | 8 +++-
res/values/strings.xml | 3 ++
.../securesms/LogViewActivity.java | 13 +++++++
.../securesms/LogViewFragment.java | 37 +++++++++++++++++++
4 files changed, 59 insertions(+), 2 deletions(-)
diff --git a/res/menu/view_log.xml b/res/menu/view_log.xml
index a067a9796..1750e04d1 100644
--- a/res/menu/view_log.xml
+++ b/res/menu/view_log.xml
@@ -1,6 +1,10 @@
-