forked from jens/Automation
Fixed bug
This commit is contained in:
parent
d85a199117
commit
291e0c41af
@ -434,7 +434,7 @@ public class ActivityMainScreen extends ActivityGeneric
|
|||||||
else
|
else
|
||||||
activityMainScreenInstance.checkForNews();
|
activityMainScreenInstance.checkForNews();
|
||||||
|
|
||||||
if(BuildConfig.FLAVOR.equals("apkFlavor") && Settings.automaticUpdateCheck)
|
if(BuildConfig.FLAVOR.equals(AutomationService.flavor_name_apk) && Settings.automaticUpdateCheck)
|
||||||
{
|
{
|
||||||
Calendar now = Calendar.getInstance();
|
Calendar now = Calendar.getInstance();
|
||||||
if (Settings.lastUpdateCheck == Settings.default_lastUpdateCheck || now.getTimeInMillis() >= Settings.lastUpdateCheck + (long)(Settings.updateCheckFrequencyDays * 24 * 60 * 60 * 1000))
|
if (Settings.lastUpdateCheck == Settings.default_lastUpdateCheck || now.getTimeInMillis() >= Settings.lastUpdateCheck + (long)(Settings.updateCheckFrequencyDays * 24 * 60 * 60 * 1000))
|
||||||
|
@ -760,7 +760,7 @@ public class Miscellaneous extends Service
|
|||||||
else
|
else
|
||||||
replacement = "unknownVariable";
|
replacement = "unknownVariable";
|
||||||
|
|
||||||
source = source.substring(0, pos1) + replacement + source.substring(pos2);
|
source = source.substring(0, pos1) + replacement + source.substring(pos2 +1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Miscellaneous.logEvent("i", "URL after replace", source);
|
// Miscellaneous.logEvent("i", "URL after replace", source);
|
||||||
|
1
fastlane/metadata/android/en-US/changelogs/133.txt
Normal file
1
fastlane/metadata/android/en-US/changelogs/133.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
* Fixed: [variable-name] was incorrectly replaced with an ] at the end
|
Loading…
Reference in New Issue
Block a user