docs(legal): add privacy policy and expose device id for deletion requests
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:flame/game.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
||||
@@ -142,6 +143,20 @@ class _MatchScreenState extends State<MatchScreen> {
|
||||
title: const Text('Werbe-Status'),
|
||||
subtitle: Text(_ads.statusLabel),
|
||||
),
|
||||
ListTile(
|
||||
leading: const Icon(Icons.fingerprint),
|
||||
title: const Text('Geraete-ID'),
|
||||
subtitle: SelectableText(_session.deviceId,
|
||||
style: const TextStyle(fontSize: 12)),
|
||||
trailing: IconButton(
|
||||
icon: const Icon(Icons.copy, size: 18),
|
||||
onPressed: () async {
|
||||
await Clipboard.setData(
|
||||
ClipboardData(text: _session.deviceId));
|
||||
if (mounted) _toast('Geraete-ID kopiert');
|
||||
},
|
||||
),
|
||||
),
|
||||
if (kDebugMode)
|
||||
ListTile(
|
||||
leading: const Icon(Icons.restart_alt),
|
||||
|
||||
Reference in New Issue
Block a user