Some minor bug fixes.

pull/27/head
Fox2Code 3 years ago
parent 6298b13cdd
commit 3b913e49d5

@ -244,7 +244,7 @@ public class MainActivity extends FoxActivity implements SwipeRefreshLayout.OnRe
setActionBarBackground(null); setActionBarBackground(null);
updateScreenInsets(getResources().getConfiguration()); updateScreenInsets(getResources().getConfiguration());
}); });
noodleDebug.push("Apply"); noodleDebug.replace("Apply");
RepoManager.getINSTANCE().runAfterUpdate( RepoManager.getINSTANCE().runAfterUpdate(
moduleViewListBuilder::appendRemoteModules); moduleViewListBuilder::appendRemoteModules);
moduleViewListBuilder.applyTo(moduleList, moduleViewAdapter); moduleViewListBuilder.applyTo(moduleList, moduleViewAdapter);

@ -266,7 +266,8 @@ public enum ActionButtonType {
if (url == null) { if (url == null) {
return icon; return icon;
} else if (url.startsWith("https://www.paypal.me/") || } else if (url.startsWith("https://www.paypal.me/") ||
url.startsWith("https://www.paypal.com/paypalme/")) { url.startsWith("https://www.paypal.com/paypalme/") ||
url.startsWith("https://www.paypal.com/donate/")) {
icon = R.drawable.ic_baseline_paypal_24; icon = R.drawable.ic_baseline_paypal_24;
} else if (url.startsWith("https://patreon.com/") || } else if (url.startsWith("https://patreon.com/") ||
url.startsWith("https://www.patreon.com/")) { url.startsWith("https://www.patreon.com/")) {

Loading…
Cancel
Save