Skip to content

Commit

Permalink
fix: Restore dependency info text when it doesn't downloading a library
Browse files Browse the repository at this point in the history
  • Loading branch information
aikrq committed Jan 1, 2025
1 parent 3bb34c2 commit ef1b046
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
import mod.jbk.build.BuildProgressReceiver;
import mod.jbk.build.BuiltInLibraries;
import mod.pranav.dependency.resolver.DependencyResolver;

import pro.sketchware.R;
import pro.sketchware.databinding.LibraryDownloaderDialogBinding;
import pro.sketchware.utility.FileUtil;
import pro.sketchware.utility.SketchwareUtil;
Expand Down Expand Up @@ -227,5 +229,9 @@ private void setDownloadState(boolean downloading) {
binding.dependencyInput.setEnabled(!downloading);
binding.cbSkipSubdependencies.setEnabled(!downloading);
setCancelable(!downloading);

if (!downloading) {
binding.dependencyInfo.setText(R.string.local_library_manager_dependency_info);
}
}
}

0 comments on commit ef1b046

Please sign in to comment.