From a8259580a484ce6f0c8f18c6b5a6a58acebb1c06 Mon Sep 17 00:00:00 2001 From: Samuel Date: Wed, 26 Feb 2020 14:02:06 +0100 Subject: [PATCH] Downgraded for testing --- VERSION.txt | 2 +- .../.idea/caches/build_file_checksums.ser | Bin 537 -> 537 bytes app-sources/NLRViewer/.idea/modules.xml | 2 ++ .../java/tfgapps/video/nlrviewer/selector.java | 14 ++++++++++++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/VERSION.txt b/VERSION.txt index 589268e..434dcac 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -1.3.0 \ No newline at end of file +1.2.9 \ No newline at end of file diff --git a/app-sources/NLRViewer/.idea/caches/build_file_checksums.ser b/app-sources/NLRViewer/.idea/caches/build_file_checksums.ser index e25b4a7a7ff20bfd8b8dd7bd4b45586534cc3f8b..ee73481ed0aa5c33860f5fd3025a31a53d5f0c0a 100644 GIT binary patch delta 15 XcmbQqGLvP(43@^pC--ceQ_BbdGkFHf delta 15 WcmbQqGLvP(43?U#63vZsY8e47RRy&G diff --git a/app-sources/NLRViewer/.idea/modules.xml b/app-sources/NLRViewer/.idea/modules.xml index 7a26901..552b642 100644 --- a/app-sources/NLRViewer/.idea/modules.xml +++ b/app-sources/NLRViewer/.idea/modules.xml @@ -3,7 +3,9 @@ + + \ No newline at end of file diff --git a/app-sources/NLRViewer/app/src/main/java/tfgapps/video/nlrviewer/selector.java b/app-sources/NLRViewer/app/src/main/java/tfgapps/video/nlrviewer/selector.java index 2d9e437..1ba8b35 100644 --- a/app-sources/NLRViewer/app/src/main/java/tfgapps/video/nlrviewer/selector.java +++ b/app-sources/NLRViewer/app/src/main/java/tfgapps/video/nlrviewer/selector.java @@ -138,6 +138,20 @@ public class selector extends AppCompatActivity { if (mDrawerToggle.onOptionsItemSelected(item)) { return true; } return super.onOptionsItemSelected(item); } + + public void checkUpdate() { + new Thread(new Runnable() { + public void run() { + try { + Document doc = Jsoup.connect("https://raw.githubusercontent.com/TurtleForGaming/NLR_Viewer/master/VERSION.txt").get(); + + } catch (Exception e) { + Log.e("UpdateEpisodes", e.getMessage(), e); + } + } + }).start(); + } + public void firstSetUp(Boolean onCreate) { ViewFlipper vf = (ViewFlipper)findViewById(R.id.layoutFlipper);