Added legend, privacy and about to setup menu

This commit is contained in:
M66B
2018-09-19 11:28:24 +00:00
parent 8b14f68a35
commit 2ea9986977
4 changed files with 45 additions and 8 deletions

View File

@@ -97,6 +97,12 @@ public class Helper {
customTabsIntent.launchUrl(context, uri);
}
static Intent getIntentPrivacy() {
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("https://email.faircode.eu/privacy/"));
return intent;
}
static int resolveColor(Context context, int attr) {
int[] attrs = new int[]{attr};
TypedArray a = context.getTheme().obtainStyledAttributes(attrs);