summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-09-05 15:36:29 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-09-05 15:36:29 +0530
commit42ecba8dee9b3817bc43901efd7b043c6f2d0b6b (patch)
tree21e20bf76136769ae8ec6492e0294f98c6fd17d8 /app/src/main/java
parentd3bb8884492b1cda6a115d9cacbb1a6f020911f7 (diff)
fix(lint): resolve and suppress lints to fix canary builds
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/app/passwordstore/ui/main/LaunchActivity.kt2
-rw-r--r--app/src/main/java/app/passwordstore/util/extensions/FragmentExtensions.kt1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/main/LaunchActivity.kt b/app/src/main/java/app/passwordstore/ui/main/LaunchActivity.kt
index 0c38e3da..d34c24b2 100644
--- a/app/src/main/java/app/passwordstore/ui/main/LaunchActivity.kt
+++ b/app/src/main/java/app/passwordstore/ui/main/LaunchActivity.kt
@@ -4,6 +4,7 @@
*/
package app.passwordstore.ui.main
+import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import android.os.Handler
@@ -22,6 +23,7 @@ import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject
@AndroidEntryPoint
+@SuppressLint("CustomSplashScreen")
class LaunchActivity : AppCompatActivity() {
@Inject lateinit var features: Features
diff --git a/app/src/main/java/app/passwordstore/util/extensions/FragmentExtensions.kt b/app/src/main/java/app/passwordstore/util/extensions/FragmentExtensions.kt
index fca45df6..791196ff 100644
--- a/app/src/main/java/app/passwordstore/util/extensions/FragmentExtensions.kt
+++ b/app/src/main/java/app/passwordstore/util/extensions/FragmentExtensions.kt
@@ -28,7 +28,6 @@ fun FragmentManager.performTransactionWithBackStack(
@IdRes containerViewId: Int = android.R.id.content
) {
commit {
- beginTransaction()
addToBackStack(destinationFragment.tag)
setCustomAnimations(
R.animator.slide_in_left,