Hide banner for a month

pull/178/head
M66B 5 years ago
parent 253e3904a1
commit 705fcde129

@ -564,7 +564,7 @@ public class ServiceUI extends IntentService {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
if (set) {
long now = new Date().getTime();
long interval = AlarmManager.INTERVAL_DAY * 7;
long interval = AlarmManager.INTERVAL_DAY * 30;
long due = interval - (now % interval);
long trigger = now + due;
Log.i("Set banner alarm at " + new Date(trigger) + " due=" + due);

@ -1239,7 +1239,7 @@
To make FairEmail sustainable in the long term, some convenience and advanced features are not free to use.
FairEmail displays a small message to remind you of this, which will be removed if you purchase the pro features.
</string>
<string name="title_pro_hide">Hide small message for a week</string>
<string name="title_pro_hide">Hide small message for a month</string>
<string name="title_pro_hint">Buying pro features will allow you to use all current and future pro features, will keep this app maintained, and supported.</string>
<string name="title_pro_price">Please see <a href="https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq19">this FAQ</a> about the price of the pro features</string>
<string name="title_pro_pending">Purchase pending</string>

Loading…
Cancel
Save