Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
feelver
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2F-ART
feelver
Commits
c6cf2d80
Commit
c6cf2d80
authored
Aug 04, 2020
by
Mobile : Jetrin Phuekkaew (N'new)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
5504e1dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
lib/ui/login/login.dart
+1
-1
lib/ui/login/login_presenter.dart
+4
-1
No files found.
lib/ui/login/login.dart
View file @
c6cf2d80
...
...
@@ -396,7 +396,7 @@ class _LoginPageState extends State<LoginPage> with TickerProviderStateMixin {
),
onPressed:
()
{
if
(
_tabController
.
index
==
0
){
if
(
_tabController
.
index
==
0
){
presenter
.
letCheckData
();}
else
{
...
...
lib/ui/login/login_presenter.dart
View file @
c6cf2d80
...
...
@@ -190,6 +190,9 @@ else {
if
(
res
.
fail
==
null
)
{
LoginModel
model
=
res
.
success
;
saveID
(
model
.
user
.
customerInfo
.
id
.
toString
());
Alert
(
style:
AlertStyle
(
animationType:
AnimationType
.
fromTop
,
...
...
@@ -211,7 +214,7 @@ else {
),
)
]).
show
();
LoginModel
model
=
res
.
success
;
// print("Username ="+"${model.user}");
print
(
"Token ="
+
"
${model.token}
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment