mirror of
https://github.com/Michatec/michas-droid.git
synced 2026-05-31 10:22:43 +02:00
- Migrate dependencies to Version Catalog (libs.versions.toml)
- Update Kotlin to 2.3.20 and Jackson Core to 2.21.2 - Update Gradle Wrapper to 9.4.1 - Bump version code to 17 and version name to 1.7 - Remove unused `percentTranslationY` property from `FragmentLinearLayout` - Clean up semicolons in `MainApplication.kt` - Update `.gitignore` to include `gradle-daemon-jvm.properties`
This commit is contained in:
@@ -27,7 +27,7 @@ import com.michatec.store.utility.Utils
|
||||
import com.michatec.store.utility.extension.android.*
|
||||
import java.net.InetSocketAddress
|
||||
import java.net.Proxy
|
||||
import org.woheller69.freeDroidWarn.FreeDroidWarn;
|
||||
import org.woheller69.freeDroidWarn.FreeDroidWarn
|
||||
|
||||
class MainApplication: Application() {
|
||||
private fun PackageInfo.toInstalledItem(): InstalledItem {
|
||||
@@ -43,7 +43,7 @@ class MainApplication: Application() {
|
||||
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
FreeDroidWarn.showWarningOnUpgrade(this, BuildConfig.VERSION_CODE);
|
||||
FreeDroidWarn.showWarningOnUpgrade(this, BuildConfig.VERSION_CODE)
|
||||
|
||||
val databaseUpdated = Database.init(this)
|
||||
Preferences.init(this)
|
||||
|
||||
@@ -12,11 +12,4 @@ class FragmentLinearLayout: LinearLayout {
|
||||
init {
|
||||
fitsSystemWindows = true
|
||||
}
|
||||
|
||||
@Suppress("unused")
|
||||
var percentTranslationY: Float
|
||||
get() = height.let { if (it > 0) translationY / it else 0f }
|
||||
set(value) {
|
||||
translationY = value * height
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user