Browse Source

>> a525b90

master v1.0.1
initramfs 10 months ago
parent
commit
99a7f36650
  1. 2
      Clover/app/build.gradle
  2. 3
      Clover/app/src/main/java/org/floens/chan/core/settings/ChanSettings.java
  3. 2
      Clover/app/src/main/java/org/floens/chan/ui/controller/AlbumDownloadController.java

2
Clover/app/build.gradle

@ -86,7 +86,6 @@ android {
buildConfigField "String", "BUILD_HASH", "\"\""
buildConfigField "String", "UPDATE_API_ENDPOINT", "\"\""
buildConfigField "String", "USER_AGENT", "\"$user_agent\""
buildConfigField "String", "CRASH_REPORT_TOKEN", "\"\""
}
dev {
@ -96,7 +95,6 @@ android {
buildConfigField "String", "BUILD_HASH", "\"\""
buildConfigField "String", "UPDATE_API_ENDPOINT", "\"\""
buildConfigField "String", "USER_AGENT", "\"$user_agent\""
buildConfigField "String", "CRASH_REPORT_TOKEN", "\"\""
}
}

3
Clover/app/src/main/java/org/floens/chan/core/settings/ChanSettings.java

@ -310,8 +310,7 @@ public class ChanSettings {
}
public static boolean isCrashReportingAvailable() {
//noinspection ConstantConditions
return !BuildConfig.CRASH_REPORT_TOKEN.isEmpty();
return false;
}
public static boolean isCrashReportingEnabled() {

2
Clover/app/src/main/java/org/floens/chan/ui/controller/AlbumDownloadController.java

@ -112,7 +112,7 @@ public class AlbumDownloadController extends Controller implements View.OnClickL
.show();
} else {
ArrayList<String> subfolders = new ArrayList<>();
int bitmask = ChanSettings.saveImageFolder.get().getBitmask();
int bitmask = ChanSettings.saveAlbumFolder.get().getBitmask();
if (bitmask == ChanSettings.DestinationFolderMode.thread) {
// actually, legacy did not include the thread number
subfolders.add((loadable.no > 0 ? loadable.no + "_" : "") + imageSaver.getSafeNameForFolder(loadable.title));

Loading…
Cancel
Save