From 08ed3cd4d12e5cdc2292b625d1882a801bf2527c Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Sun, 11 Jul 2021 18:15:35 +0900 Subject: [PATCH] Update uCrop --- app/build.gradle | 2 +- app/src/main/java/awais/instagrabber/activities/MainActivity.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index e08a11a6..36916314 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -235,7 +235,7 @@ dependencies { implementation 'com.github.skydoves:balloon:1.3.5' implementation 'com.github.ammargitham:AutoLinkTextViewV2:3.2.0' - implementation 'com.github.ammargitham:uCrop:2.3-native-beta-2' + implementation 'com.github.ammargitham:uCrop:2.3-non-native' implementation 'com.github.ammargitham:android-gpuimage:2.1.1-beta4' debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7' diff --git a/app/src/main/java/awais/instagrabber/activities/MainActivity.kt b/app/src/main/java/awais/instagrabber/activities/MainActivity.kt index 1af701d1..ee618ef4 100644 --- a/app/src/main/java/awais/instagrabber/activities/MainActivity.kt +++ b/app/src/main/java/awais/instagrabber/activities/MainActivity.kt @@ -357,7 +357,7 @@ class MainActivity : BaseLanguageActivity() { rootNavGraph.id = R.id.root_nav_graph rootNavGraph.label = "root_nav_graph" rootNavGraph.addDestinations(topLevelDestinations) - rootNavGraph.startDestination = if (startNavRootId != 0) startNavRootId else R.id.profile_nav_graph + rootNavGraph.setStartDestination(if (startNavRootId != 0) startNavRootId else R.id.profile_nav_graph) navController.graph = rootNavGraph binding.bottomNavView.setupWithNavController(navController) appBarConfiguration = AppBarConfiguration(currentTabs.map { it.startDestinationFragmentId }.toSet())