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
e06c4156
Commit
e06c4156
authored
Feb 24, 2017
by
Tiago Cunha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another crash
parent
f1dd4424
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
RealmSettings.java
...at/rocket/persistence/realm/models/ddp/RealmSettings.java
+1
-1
Settings.java
...-core/src/main/java/chat/rocket/core/models/Settings.java
+3
-0
No files found.
persistence-realm/src/main/java/chat/rocket/persistence/realm/models/ddp/RealmSettings.java
View file @
e06c4156
...
...
@@ -19,7 +19,7 @@ public class RealmSettings extends RealmObject {
public
Settings
asSettings
()
{
return
Settings
.
builder
()
.
setId
(
id
)
.
setPreferences
(
preferences
.
asPreferences
()
)
.
setPreferences
(
preferences
!=
null
?
preferences
.
asPreferences
()
:
null
)
.
build
();
}
...
...
rocket-chat-core/src/main/java/chat/rocket/core/models/Settings.java
View file @
e06c4156
...
...
@@ -2,11 +2,14 @@ package chat.rocket.core.models;
import
com.google.auto.value.AutoValue
;
import
javax.annotation.Nullable
;
@AutoValue
public
abstract
class
Settings
{
public
abstract
String
getId
();
@Nullable
public
abstract
Preferences
getPreferences
();
public
static
Builder
builder
()
{
...
...
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