AppDetailsFragment: Get packageName from navArgs
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -175,7 +175,7 @@ class AppDetailsFragment : BaseFragment<FragmentDetailsBinding>() {
|
||||
|
||||
app = args.app ?: App(
|
||||
packageName = args.packageName,
|
||||
isInstalled = PackageUtil.isInstalled(requireContext(), app.packageName)
|
||||
isInstalled = PackageUtil.isInstalled(requireContext(), args.packageName)
|
||||
)
|
||||
|
||||
// Show the basic app details, while the rest of the data is being fetched
|
||||
|
||||
Reference in New Issue
Block a user