File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import 'dart:async';
22
33import 'package:app_ui/app_ui.dart' ;
44import 'package:firebase_database_repository/firebase_database_repository.dart' ;
5+ import 'package:flutter/foundation.dart' ;
56import 'package:flutter/material.dart' ;
67import 'package:flutter/services.dart' ;
78import 'package:flutter_bloc/flutter_bloc.dart' ;
@@ -66,7 +67,9 @@ class _TabletView extends StatelessWidget {
6667 children: [
6768 SectionHeader (
6869 title: l10n.matchHistoryTitle,
69- onMorePressed: () => context.push (FriendsListPage .routePath),
70+ onMorePressed: () => kDebugMode
71+ ? context.push (FriendsListPage .routePath)
72+ : null ,
7073 ),
7174 const Expanded (
7275 child: MatchHistoryPanel (),
@@ -929,7 +932,8 @@ class _PhoneView extends StatelessWidget {
929932 ),
930933 actions: [
931934 IconButton (
932- onPressed: () => context.push (FriendsListPage .routePath),
935+ onPressed: () =>
936+ kDebugMode ? context.push (FriendsListPage .routePath) : null ,
933937 icon: const Icon (Icons .person),
934938 ),
935939 ],
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ void main() {
1818 final firebaseDatabaseRepository = FirebaseDatabaseRepository (
1919 firebase: FirebaseFirestore .instance,
2020 );
21+
2122 final userRepository = UserRepository (
2223 authenticationClient: authenticationClient,
2324 firebaseDatabaseRepository: firebaseDatabaseRepository,
Original file line number Diff line number Diff line change 11name : magic_yeti
22description : Magic The Gathering Tracking App
3- version : 1.1.1+2
3+ version : 1.1.2+1
44publish_to : none
55
66environment :
You can’t perform that action at this time.
0 commit comments