AppDetailsFragment: Get packageName from navArgs

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2025-05-22 15:56:41 +08:00
parent 041745b757
commit 6fcaf68584

View File

@@ -175,7 +175,7 @@ class AppDetailsFragment : BaseFragment<FragmentDetailsBinding>() {
app = args.app ?: App( app = args.app ?: App(
packageName = args.packageName, 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 // Show the basic app details, while the rest of the data is being fetched