Skip to content

Commit 25cfc90

Browse files
Add terms link to onboarding slider (#182)
1 parent 35435ff commit 25cfc90

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

lib/views/desktop/introduction-slider.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class IntroScreenState extends State<IntroScreen> {
9696
showPrevBtn: false,
9797
showDoneBtn: false,
9898
desktopActionButtonEnabled: true,
99+
termsLink: TERMS_LINK,
99100
onDonePress: this.onDonePress,
100101
colorDot: Theme.of(context).scaffoldBackgroundColor,
101102
colorActiveDot: Theme.of(context).colorScheme.secondary,

lib/views/mobile/introduction-slider.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ class IntroScreenState extends State<IntroScreen> {
8989
slides: this.slides,
9090
showSkipBtn: false,
9191
showNextBtn: false,
92+
termsLink: TERMS_LINK,
9293
showPrevBtn: false,
9394
showDoneBtn: false,
9495
onDonePress: this.onDonePress,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies:
3434
intro_slider:
3535
git:
3636
url: https://github.com/shareef-dweikat/flutter-intro-slider
37-
ref: fb79b4ded0fc915d14b482737b18aa948838c1f9
37+
ref: f7ce84e8314f79acd57ffce7d52464ec0052e041
3838
expand_widget:
3939
git:
4040
url: https://github.com/shareef-dweikat/expand_widget

0 commit comments

Comments
 (0)