Hide banner for two weeks

This commit is contained in:
M66B 2020-05-21 10:07:01 +02:00
parent 5ab50971f9
commit e0a7f7e08f
2 changed files with 2 additions and 2 deletions

View File

@ -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 * 30;
long interval = AlarmManager.INTERVAL_DAY * 14;
long due = interval - (now % interval);
long trigger = now + due;
Log.i("Set banner alarm at " + new Date(trigger) + " due=" + due);

View File

@ -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 month</string>
<string name="title_pro_hide">Hide small message for two weeks</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>