mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 14:28:40 +00:00
add qr code
This commit is contained in:
parent
d7dcd2ae6b
commit
b856859061
3 changed files with 17 additions and 5 deletions
|
|
@ -31,6 +31,7 @@
|
||||||
android:name="flutterEmbedding"
|
android:name="flutterEmbedding"
|
||||||
android:value="2" />
|
android:value="2" />
|
||||||
</application>
|
</application>
|
||||||
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
<!-- Required to query activities that can process text, see:
|
<!-- Required to query activities that can process text, see:
|
||||||
https://developer.android.com/training/package-visibility and
|
https://developer.android.com/training/package-visibility and
|
||||||
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
|
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
|
||||||
|
|
|
||||||
|
|
@ -147,11 +147,12 @@ class _RegisterViewState extends State<RegisterView> {
|
||||||
),
|
),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
OutlinedButton.icon(
|
OutlinedButton.icon(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
showAlertDialog(context, "Coming soon",
|
showAlertDialog(context, "Coming soon",
|
||||||
"This feature is not yet implemented! Just create a new account :/");
|
"This feature is not yet implemented! Just create a new account :/");
|
||||||
},
|
},
|
||||||
label: Text("Restore identity")),
|
label: Text("Restore identity"),
|
||||||
|
),
|
||||||
]),
|
]),
|
||||||
// ),
|
// ),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,16 @@ class _SearchUsernameView extends State<SearchUsernameView> {
|
||||||
decoration: getInputDecoration(
|
decoration: getInputDecoration(
|
||||||
AppLocalizations.of(context)!.searchUsernameInput))),
|
AppLocalizations.of(context)!.searchUsernameInput))),
|
||||||
const SizedBox(height: 40),
|
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())
|
if (_isLoading) const Center(child: CircularProgressIndicator())
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue