Commit 9bc47756 authored by Tiago Cunha's avatar Tiago Cunha

Was missing those guys

parent 763da836
package chat.rocket.android.model.ddp;
import io.realm.RealmObject;
public class Preferences extends RealmObject {
private boolean newRoomNotification;
private boolean newMessageNotification;
private boolean useEmojis;
private boolean convertAsciiEmoji;
private boolean saveMobileBandwidth;
private boolean collapseMediaByDefault;
private boolean unreadRoomsMode;
private boolean autoImageLoad;
private String emailNotificationMode;
private boolean unreadAlert;
private int desktopNotificationDuration;
private int viewMode;
private boolean hideUsernames;
private boolean hideAvatars;
private boolean hideFlexTab;
// private List<String> highlights; // Realm does not support this yet
public boolean isNewRoomNotification() {
return newRoomNotification;
}
public boolean isNewMessageNotification() {
return newMessageNotification;
}
public boolean isUseEmojis() {
return useEmojis;
}
public boolean isConvertAsciiEmoji() {
return convertAsciiEmoji;
}
public boolean isSaveMobileBandwidth() {
return saveMobileBandwidth;
}
public boolean isCollapseMediaByDefault() {
return collapseMediaByDefault;
}
public boolean isUnreadRoomsMode() {
return unreadRoomsMode;
}
public boolean isAutoImageLoad() {
return autoImageLoad;
}
public String getEmailNotificationMode() {
return emailNotificationMode;
}
public boolean isUnreadAlert() {
return unreadAlert;
}
public int getDesktopNotificationDuration() {
return desktopNotificationDuration;
}
public int getViewMode() {
return viewMode;
}
public boolean isHideUsernames() {
return hideUsernames;
}
public boolean isHideAvatars() {
return hideAvatars;
}
public boolean isHideFlexTab() {
return hideFlexTab;
}
}
package chat.rocket.android.model.ddp;
import io.realm.RealmObject;
public class Settings extends RealmObject {
private Preferences preferences;
public Preferences getPreferences() {
return preferences;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment