Remove unused variable

This commit is contained in:
davide 2022-08-13 17:41:41 +02:00
parent 5ea75a5352
commit 8c5f4268a4

View File

@ -110,7 +110,6 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener, DIAwar
private var updateSources: Boolean = true
private var markOnScroll: Boolean = false
private var hiddenTags: List<String> = emptyList()
private var apiVersionMajor: Int = 0
private var periodicRefresh = false
private var refreshMinutes: Long = 360L
@ -192,8 +191,6 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener, DIAwar
handleSettings()
apiVersionMajor = repository.apiMajorVersion
getElementsAccordingToTab()
}
@ -380,8 +377,6 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener, DIAwar
if (refreshMinutes <= 15) {
refreshMinutes = 15
}
apiVersionMajor = settings.getInt("apiVersionMajor", 0)
}
private fun handleThemeBinding() {