Skip to content

Commit

Permalink
fix for #1
Browse files Browse the repository at this point in the history
  • Loading branch information
omerdotdev committed Nov 23, 2021
1 parent 778236c commit b567e0c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 12 deletions.
22 changes: 22 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,26 @@
android:name="flutterEmbedding"
android:value="2" />
</application>
<queries>
<!-- If your app opens https URLs -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
<!-- If your app makes calls -->
<intent>
<action android:name="android.intent.action.DIAL" />
<data android:scheme="tel" />
</intent>
<!-- If your sends SMS messages -->
<intent>
<action android:name="android.intent.action.SENDTO" />
<data android:scheme="smsto" />
</intent>
<!-- If your app sends emails -->
<intent>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="*/*" />
</intent>
</queries>
</manifest>
33 changes: 21 additions & 12 deletions lib/widgets/qr_code_card_placeholder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,29 @@ class QRCodePlaceholder extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
OutlineButtonWidget(
onPressed: null,
label: "Github",
icon: FontAwesomeIcons.github,
url: AppStrings['github_link']),
onPressed: null,
label: "Github",
icon: FontAwesomeIcons.github,
url: AppStrings['github_link'],
snackBarErrMsg: "Error!",
snackBarErrorIcon: Icons.error_outline_rounded,
),
OutlineButtonWidget(
onPressed: null,
label: "Review",
icon: Icons.rate_review,
url: AppStrings['review']),
onPressed: null,
label: "Review",
icon: Icons.rate_review,
url: AppStrings['review'],
snackBarErrMsg: "Error!",
snackBarErrorIcon: Icons.error_outline_rounded,
),
OutlineButtonWidget(
onPressed: null,
label: "Support",
icon: Icons.support_rounded,
url: AppStrings['support'])
onPressed: null,
label: "Support",
icon: Icons.support_rounded,
url: AppStrings['support'],
snackBarErrMsg: "Error!",
snackBarErrorIcon: Icons.error_outline_rounded,
)
],
),
),
Expand Down

1 comment on commit b567e0c

@omerdotdev
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix for #5

Please sign in to comment.