AppDetailsFragment: Strip out remaining unused auto download logic
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -113,7 +113,6 @@ class AppDetailsFragment : BaseFragment<FragmentDetailsBinding>() {
|
||||
|
||||
private var downloadStatus = DownloadStatus.UNAVAILABLE
|
||||
private var isUpdatable: Boolean = false
|
||||
private var autoDownload: Boolean = false
|
||||
private var uninstallActionEnabled = false
|
||||
|
||||
private fun onEvent(event: Event) {
|
||||
@@ -703,10 +702,6 @@ class AppDetailsFragment : BaseFragment<FragmentDetailsBinding>() {
|
||||
attachHeader()
|
||||
attachBottomSheet()
|
||||
attachActions()
|
||||
|
||||
if (autoDownload) {
|
||||
purchase()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user