mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-12-01 00:02:55 +01:00
fix(YouTube - ExternalDownloads): Trim whitespace from package name (#469)
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
This commit is contained in:
parent
04c81b39e9
commit
61d997e1db
@ -49,7 +49,8 @@ public class ExternalDownloadButton extends BottomControlButton {
|
||||
LogHelper.printDebug(() -> "External download button clicked");
|
||||
|
||||
final var context = view.getContext();
|
||||
var downloaderPackageName = SettingsEnum.EXTERNAL_DOWNLOADER_PACKAGE_NAME.getString();
|
||||
// Trim string to avoid any accidental whitespace.
|
||||
var downloaderPackageName = SettingsEnum.EXTERNAL_DOWNLOADER_PACKAGE_NAME.getString().trim();
|
||||
|
||||
boolean packageEnabled = false;
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user