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
e9f583aa
Commit
e9f583aa
authored
Feb 07, 2017
by
Tiago Cunha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes clean up room id
parent
533ba976
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
AbstractAuthedActivity.java
.../chat/rocket/android/activity/AbstractAuthedActivity.java
+6
-1
AbstractFragment.java
...n/java/chat/rocket/android/fragment/AbstractFragment.java
+1
-2
No files found.
app/src/main/java/chat/rocket/android/activity/AbstractAuthedActivity.java
View file @
e9f583aa
...
...
@@ -74,7 +74,12 @@ abstract class AbstractAuthedActivity extends AbstractFragmentActivity {
recoverFromHostnameError
(
prefs
);
}
}
else
{
if
(!
hostname
.
equals
(
newHostname
)
&&
assertServerRealmStoreExists
(
newHostname
))
{
if
(
hostname
.
equals
(
newHostname
))
{
// we are good
return
;
}
if
(
assertServerRealmStoreExists
(
newHostname
))
{
updateHostname
(
newHostname
);
}
else
{
recoverFromHostnameError
(
prefs
);
...
...
app/src/main/java/chat/rocket/android/fragment/AbstractFragment.java
View file @
e9f583aa
...
...
@@ -14,9 +14,8 @@ import com.trello.rxlifecycle.components.support.RxFragment;
public
abstract
class
AbstractFragment
extends
RxFragment
{
protected
View
rootView
;
protected
abstract
@LayoutRes
int
getLayout
();
protected
abstract
int
getLayout
();
protected
abstract
void
onSetupView
();
...
...
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