-
-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add user status option to account dialog (WIP)
Signed-off-by: Marcel Hibbe <[email protected]>
- Loading branch information
1 parent
2871122
commit b4ce31c
Showing
19 changed files
with
1,251 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
app/src/main/java/com/nextcloud/talk/models/json/capabilities/UserStatusCapability.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package com.nextcloud.talk.models.json.capabilities; | ||
|
||
import com.bluelinelabs.logansquare.annotation.JsonField; | ||
import com.bluelinelabs.logansquare.annotation.JsonObject; | ||
|
||
import org.parceler.Parcel; | ||
|
||
@Parcel | ||
@JsonObject | ||
public class UserStatusCapability { | ||
@JsonField(name = "enabled") | ||
boolean enabled; | ||
|
||
@JsonField(name = "supports_emoji") | ||
boolean supportsEmoji; | ||
|
||
public boolean isEnabled() { | ||
return enabled; | ||
} | ||
|
||
public void setEnabled(boolean enabled) { | ||
this.enabled = enabled; | ||
} | ||
|
||
public boolean isSupportsEmoji() { | ||
return supportsEmoji; | ||
} | ||
|
||
public void setSupportsEmoji(boolean supportsEmoji) { | ||
this.supportsEmoji = supportsEmoji; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.