Quellcode durchsuchen

problems with register page fixed

David Sokol Zelazko vor 3 Jahren
Ursprung
Commit
cd43f42da5
3 geänderte Dateien mit 24 neuen und 1 gelöschten Zeilen
  1. 12 0
      app/ios/Podfile.lock
  2. 8 0
      app/lib/SignupPage.dart
  3. 4 1
      app/lib/logIn.dart

+ 12 - 0
app/ios/Podfile.lock

@@ -41,6 +41,10 @@ PODS:
   - FirebaseFirestore/WithLeveldb (8.15.0):
     - FirebaseFirestore/Base
   - Flutter (1.0.0)
+  - flutter_compass (0.0.1):
+    - Flutter
+  - geolocator_apple (1.2.0):
+    - Flutter
   - GoogleDataTransport (9.1.4):
     - GoogleUtilities/Environment (~> 7.7)
     - nanopb (< 2.30910.0, >= 2.30908.0)
@@ -74,6 +78,8 @@ DEPENDENCIES:
   - firebase_core (from `.symlinks/plugins/firebase_core/ios`)
   - FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `8.15.0`)
   - Flutter (from `Flutter`)
+  - flutter_compass (from `.symlinks/plugins/flutter_compass/ios`)
+  - geolocator_apple (from `.symlinks/plugins/geolocator_apple/ios`)
 
 SPEC REPOS:
   trunk:
@@ -99,6 +105,10 @@ EXTERNAL SOURCES:
     :tag: 8.15.0
   Flutter:
     :path: Flutter
+  flutter_compass:
+    :path: ".symlinks/plugins/flutter_compass/ios"
+  geolocator_apple:
+    :path: ".symlinks/plugins/geolocator_apple/ios"
 
 CHECKOUT OPTIONS:
   FirebaseFirestore:
@@ -115,6 +125,8 @@ SPEC CHECKSUMS:
   FirebaseCoreDiagnostics: 92e07a649aeb66352b319d43bdd2ee3942af84cb
   FirebaseFirestore: cb361b7f8f225a225c9f11b8d42066baebb1630c
   Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
+  flutter_compass: cbbd285cea1584c7ac9c4e0c3e1f17cbea55e855
+  geolocator_apple: cc556e6844d508c95df1e87e3ea6fa4e58c50401
   GoogleDataTransport: 5fffe35792f8b96ec8d6775f5eccd83c998d5a3b
   GoogleUtilities: e0913149f6b0625b553d70dae12b49fc62914fd1
   GTMSessionFetcher: 5595ec75acf5be50814f81e9189490412bad82ba

+ 8 - 0
app/lib/SignupPage.dart

@@ -62,12 +62,14 @@ class _SignupPageState extends State<SignupPage> {
         mainAxisAlignment: MainAxisAlignment.end,
         children: [
           FloatingActionButton(
+              heroTag: "btn1",
               child: Icon(Icons.navigate_before_outlined),
               onPressed: () => _updatePageIndex(_pageIndex - 1)),
           SizedBox(
             width: 25,
           ),
           FloatingActionButton(
+              heroTag: "btn2",
               child: Icon(Icons.navigate_next_outlined),
               onPressed: () => _updatePageIndex(_pageIndex + 1))
         ],
@@ -264,6 +266,9 @@ class _SignupForm3 extends State<SignupForm3> {
           const SizedBox(height: 10),
           TextFormField(
             controller: _passwd,
+            obscureText: true,
+            enableSuggestions: false,
+            autocorrect: false,
             decoration: InputDecoration(
               hintText: 'Password',
             ),
@@ -271,6 +276,9 @@ class _SignupForm3 extends State<SignupForm3> {
           const SizedBox(height: 10),
           TextFormField(
             controller: _passwd2,
+            obscureText: true,
+            enableSuggestions: false,
+            autocorrect: false,
             decoration: InputDecoration(
               hintText: 'Repeat password',
             ),

+ 4 - 1
app/lib/logIn.dart

@@ -39,12 +39,15 @@ class _LogIn extends State<LogIn> {
           TextFormField(
             controller: _email,
             decoration: InputDecoration(
-              hintText: 'Mail or mobile phone',
+              hintText: 'Mail',
             ),
           ),
           const SizedBox(height: 10),
           TextFormField(
             controller: _passwd,
+            obscureText: true,
+            enableSuggestions: false,
+            autocorrect: false,
             decoration: InputDecoration(
               hintText: 'Password',
             ),