link to online privacy policy (this is also a gplay requirement)

This commit is contained in:
B. Petersen
2021-05-06 18:01:14 +02:00
committed by bjoern
parent 5eb1517f76
commit 39b67e8876
3 changed files with 8 additions and 0 deletions
+4
View File
@@ -9,6 +9,10 @@
android:id="@+id/learn_more"
app:showAsAction="never"/>
<item android:title="@string/privacy_policy"
android:id="@+id/privacy_policy"
app:showAsAction="never"/>
<item android:title="@string/global_menu_help_contribute_desktop"
android:id="@+id/contribute"
app:showAsAction="never"/>
+1
View File
@@ -200,6 +200,7 @@
<string name="menu_scroll_to_bottom">Scroll to the bottom</string>
<string name="menu_scroll_to_top">Scroll to the top</string>
<string name="menu_help">Help</string>
<string name="privacy_policy">Privacy policy</string>
<string name="menu_select_all">Select all</string>
<string name="select_more">Select more</string>
<string name="menu_expand">Expand</string>
@@ -55,6 +55,9 @@ public class LocalHelpActivity extends WebViewActivity
case R.id.learn_more:
openOnlineUrl("https://delta.chat");
return true;
case R.id.privacy_policy:
openOnlineUrl("https://delta.chat/gdpr");
return true;
case R.id.contribute:
openOnlineUrl("https://github.com/deltachat/deltachat-android");
return true;