Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 725465f8 authored by tibbi's avatar tibbi
Browse files

update some strings related to Calendar Pro being free till November 24

parent 4a74b230
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ buildscript {
        propMinSdkVersion = 21
        propTargetSdkVersion = propCompileSdkVersion
        propVersionCode = 1
        propVersionName = '5.3.16'
        propVersionName = '5.3.17'
        kotlin_version = '1.3.10'
    }

+3 −3
Original line number Diff line number Diff line
@@ -20,8 +20,8 @@ class UpgradeToProDialog(val activity: Activity) {
    private val NOTES_FREE_TILL = 1542326400000L     // November 16
    private val NOV_16 = "Nov 16 2018"

    private val CALENDAR_FREE_TILL = 1542326400000L     // November 17
    private val NOV_17 = "Nov 17 2018"
    private val CALENDAR_FREE_TILL = 1543017600000L     // November 24
    private val NOV_24 = "Nov 24 2018"

    init {
        var text = activity.getString(R.string.upgrade_to_pro_long)
@@ -35,7 +35,7 @@ class UpgradeToProDialog(val activity: Activity) {
            val freeTill = String.format(activity.getString(R.string.it_is_free), NOV_16)
            text += "\n$freeTill"
        } else if (packageName.endsWith("calendar") && System.currentTimeMillis() < CALENDAR_FREE_TILL) {
            val freeTill = String.format(activity.getString(R.string.it_is_free), NOV_17)
            val freeTill = String.format(activity.getString(R.string.it_is_free), NOV_24)
            text += "\n$freeTill"
        }