kopia lustrzana https://gitlab.com/mysocialportal/relatica
Change magic unlock number to positive and remove textinput field formatter
rodzic
fe348a8020
commit
0833c40a30
|
@ -1,7 +1,7 @@
|
|||
import UIKit
|
||||
import Flutter
|
||||
|
||||
@UIApplicationMain
|
||||
@main
|
||||
@objc class AppDelegate: FlutterAppDelegate {
|
||||
override func application(
|
||||
_ application: UIApplication,
|
||||
|
|
|
@ -14,7 +14,7 @@ import '../routes.dart';
|
|||
import '../utils/snackbar_builder.dart';
|
||||
import '../utils/string_utils.dart';
|
||||
|
||||
const _magicUnlockNumber = -1563948536;
|
||||
const _magicUnlockNumber = 1563948536;
|
||||
|
||||
class GameState {
|
||||
final int maxNumber;
|
||||
|
@ -103,9 +103,10 @@ class _DisableFocusModeScreenState
|
|||
TextFormField(
|
||||
controller: guessController,
|
||||
keyboardType: TextInputType.number,
|
||||
inputFormatters: [
|
||||
ThousandsSeparatorInputFormatter(),
|
||||
],
|
||||
// inputFormatters: [
|
||||
// ThousandsSeparatorInputFormatter(),
|
||||
// ],
|
||||
enableInteractiveSelection: true,
|
||||
autovalidateMode: AutovalidateMode.onUserInteraction,
|
||||
validator: (value) {
|
||||
if (value == null) {
|
||||
|
|
Ładowanie…
Reference in New Issue