Archived
Changed test URL to default URL
This commit is contained in:
@@ -135,7 +135,7 @@ class DataFetcher(isplan: Boolean, ismenu: Boolean, isjobservice: Boolean, conte
|
|||||||
|
|
||||||
if (plan) {
|
if (plan) {
|
||||||
val substViewModel = SubstViewModel(mApplication)
|
val substViewModel = SubstViewModel(mApplication)
|
||||||
val doc = Jsoup.connect("https://djd4rkn355.github.io/subst_test").get()
|
val doc = Jsoup.connect("https://djd4rkn355.github.io/subst.html").get()
|
||||||
currentTime = doc.select("h1")[0].text()
|
currentTime = doc.select("h1")[0].text()
|
||||||
if (currentTime != prefs.getString("time", "")) {
|
if (currentTime != prefs.getString("time", "")) {
|
||||||
val rows = doc.select("tr")
|
val rows = doc.select("tr")
|
||||||
|
|||||||
@@ -51,7 +51,9 @@ class Main : AppCompatActivity(R.layout.app_bar_main) {
|
|||||||
edit.putInt("launchDev", prefs.getInt("launchDev", 0) + 1)
|
edit.putInt("launchDev", prefs.getInt("launchDev", 0) + 1)
|
||||||
edit.apply()
|
edit.apply()
|
||||||
|
|
||||||
|
if (prefs.getBoolean("notif", true)) {
|
||||||
notificationJob()
|
notificationJob()
|
||||||
|
}
|
||||||
|
|
||||||
val handler = Handler()
|
val handler = Handler()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user