Bump 4.5.7.7

This commit is contained in:
NekoInverter 2020-07-19 12:57:26 +08:00
parent 5c0a688ee5
commit de450c65d9
No known key found for this signature in database
GPG Key ID: 280D6CCCF95715F9
3 changed files with 3 additions and 12 deletions

View File

@ -34,8 +34,8 @@ android {
minSdkVersion 26
//noinspection OldTargetApi
targetSdkVersion 27
versionCode 457060
versionName "4.5.7.6"
versionCode 457070
versionName "4.5.7.7"
signingConfig signingConfigs.release
}
buildTypes {

View File

@ -111,9 +111,8 @@ public class DownloadDetailsVersionsFragment extends ListFragment {
private final String textInstalled;
private final String textUpdateAvailable;
private final long installedVersionCode;
//private View snackbar;
VersionsAdapter(Context context, InstalledModule installed/*, View snackbar*/) {
VersionsAdapter(Context context, InstalledModule installed) {
super(context, R.layout.item_version);
TypedValue typedValue = new TypedValue();
Resources.Theme theme = context.getTheme();
@ -126,7 +125,6 @@ public class DownloadDetailsVersionsFragment extends ListFragment {
textInstalled = getString(R.string.download_section_installed) + ":";
textUpdateAvailable = getString(R.string.download_section_update_available) + ":";
installedVersionCode = (installed != null) ? installed.versionCode : -1;
//this.snackbar = snackbar;
}
@SuppressLint("InflateParams")
@ -182,7 +180,6 @@ public class DownloadDetailsVersionsFragment extends ListFragment {
holder.downloadView.setUrl(item.downloadLink);
holder.downloadView.setTitle(activity.getModule().name);
//holder.downloadView.setDownloadFinishedCallback(new DownloadModuleCallback(item, snackbar));
if (item.changelog != null && !item.changelog.isEmpty()) {
holder.txtChangesTitle.setVisibility(View.VISIBLE);

View File

@ -102,12 +102,6 @@
android:title="@string/enable_heads_up"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="snack_bar"
android:title="@string/notify_module_update"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
android:defaultValue="false"
android:key="custom_list"