Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
AloqaIM-Android
Commits
70bb6778
Commit
70bb6778
authored
Feb 16, 2017
by
Tiago Cunha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Close view
parent
4fcd0b13
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
LoginActivity.java
...main/java/chat/rocket/android/activity/LoginActivity.java
+1
-1
LoginContract.java
...main/java/chat/rocket/android/activity/LoginContract.java
+1
-1
LoginPresenter.java
...ain/java/chat/rocket/android/activity/LoginPresenter.java
+2
-2
No files found.
app/src/main/java/chat/rocket/android/activity/LoginActivity.java
View file @
70bb6778
...
...
@@ -85,7 +85,7 @@ public class LoginActivity extends AbstractFragmentActivity implements LoginCont
}
@Override
public
void
close
()
{
public
void
close
View
()
{
finish
();
overridePendingTransition
(
android
.
R
.
anim
.
fade_in
,
android
.
R
.
anim
.
fade_out
);
}
...
...
app/src/main/java/chat/rocket/android/activity/LoginContract.java
View file @
70bb6778
...
...
@@ -9,7 +9,7 @@ public interface LoginContract {
void
showRetryLogin
(
String
hostname
);
void
close
();
void
close
View
();
}
interface
Presenter
extends
BaseContract
.
Presenter
<
View
>
{
...
...
app/src/main/java/chat/rocket/android/activity/LoginPresenter.java
View file @
70bb6778
...
...
@@ -31,7 +31,7 @@ public class LoginPresenter extends BasePresenter<LoginContract.View>
connectivityManagerApi
.
keepAliveServer
();
if
(
hostname
==
null
||
hostname
.
length
()
==
0
)
{
view
.
close
();
view
.
close
View
();
return
;
}
...
...
@@ -52,7 +52,7 @@ public class LoginPresenter extends BasePresenter<LoginContract.View>
view
.
showRetryLogin
(
hostname
);
break
;
case
VALID:
view
.
close
();
view
.
close
View
();
}
});
...
...
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