refresh issue fixed, closes #13
This commit is contained in:
parent
3d6d051bf4
commit
f2f8bddedf
|
|
@ -5,7 +5,7 @@ import 'package:http/http.dart' as http;
|
|||
import 'DebugHelper.dart';
|
||||
|
||||
class DataManager{
|
||||
static int ClientVersion = 1;
|
||||
static int ClientVersion = 2;
|
||||
|
||||
static const String API_ENDPOINT = "http://vps.playpoolstudios.com/faucet/api/";
|
||||
static Map<String,String> Settings = {};
|
||||
|
|
|
|||
|
|
@ -120,6 +120,8 @@ class LoginManager {
|
|||
prefs.setString("username", username);
|
||||
prefs.setString("password", username);
|
||||
prefs.setBool("googleLogin", true);
|
||||
DataManager.username = username;
|
||||
DataManager.password = username;
|
||||
return 0;
|
||||
}catch(e){
|
||||
return 5;
|
||||
|
|
|
|||
|
|
@ -316,7 +316,6 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||
GoogleSignIn _googleSignIn = GoogleSignIn(
|
||||
scopes: [
|
||||
'email',
|
||||
'https://www.googleapis.com/auth/contacts.readonly',
|
||||
],
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.0.4+4
|
||||
version: 1.0.6+6
|
||||
|
||||
environment:
|
||||
sdk: '>=3.0.1 <4.0.0'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user