Format Improve

This commit is contained in:
Yogesh Choudhary Paliyal
2022-01-11 20:44:03 +05:30
parent 691f504990
commit b0a4a5b514
3 changed files with 5 additions and 7 deletions

View File

@@ -5,8 +5,8 @@ import android.content.Intent
import android.util.Log
import androidx.hilt.work.HiltWorkerFactory
import androidx.work.Configuration
import com.yogeshpaliyal.keypass.ui.CrashActivity
import com.google.android.material.color.DynamicColors
import com.yogeshpaliyal.keypass.ui.CrashActivity
import dagger.hilt.android.HiltAndroidApp
import javax.inject.Inject
import kotlin.system.exitProcess
@@ -42,5 +42,4 @@ class MyApplication : Application(), Configuration.Provider {
.setWorkerFactory(workerFactory)
.build()
}
}

View File

@@ -38,10 +38,7 @@ class CrashActivity : AppCompatActivity() {
intent.putExtra(Intent.EXTRA_SUBJECT, "Crash Report in KeyPass")
intent.putExtra(Intent.EXTRA_TEXT, binding.txtCrash.text.toString())
startActivity(Intent.createChooser(intent, ""))
}
}
}
}

View File

@@ -6,7 +6,9 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
###org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx512m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects