add qr code

This commit is contained in:
otsmr 2025-01-21 23:45:44 +01:00
parent d7dcd2ae6b
commit b856859061
3 changed files with 17 additions and 5 deletions

View file

@ -31,6 +31,7 @@
android:name="flutterEmbedding"
android:value="2" />
</application>
<uses-permission android:name="android.permission.INTERNET"/>
<!-- Required to query activities that can process text, see:
https://developer.android.com/training/package-visibility and
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.

View file

@ -147,11 +147,12 @@ class _RegisterViewState extends State<RegisterView> {
),
const SizedBox(height: 10),
OutlinedButton.icon(
onPressed: () {
showAlertDialog(context, "Coming soon",
"This feature is not yet implemented! Just create a new account :/");
},
label: Text("Restore identity")),
onPressed: () {
showAlertDialog(context, "Coming soon",
"This feature is not yet implemented! Just create a new account :/");
},
label: Text("Restore identity"),
),
]),
// ),
],

View file

@ -86,6 +86,16 @@ class _SearchUsernameView extends State<SearchUsernameView> {
decoration: getInputDecoration(
AppLocalizations.of(context)!.searchUsernameInput))),
const SizedBox(height: 40),
OutlinedButton.icon(
icon: Icon(Icons.qr_code),
onPressed: () {
showAlertDialog(context, "Coming soon",
"This feature is not yet implemented!");
},
label: Text("QR-Code scannen"),
),
SizedBox(height: 20),
const SizedBox(height: 40),
if (_isLoading) const Center(child: CircularProgressIndicator())
],
),