mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 14:19:53 +01:00
Don't reload blog data when configuration changes
This commit is contained in:
@@ -112,7 +112,9 @@ class BlogViewModel extends BaseViewModel {
|
|||||||
/**
|
/**
|
||||||
* Set this before calling any other methods.
|
* Set this before calling any other methods.
|
||||||
*/
|
*/
|
||||||
|
@UiThread
|
||||||
public void setGroupId(GroupId groupId) {
|
public void setGroupId(GroupId groupId) {
|
||||||
|
if (this.groupId == groupId) return; // configuration change
|
||||||
this.groupId = groupId;
|
this.groupId = groupId;
|
||||||
loadBlog(groupId);
|
loadBlog(groupId);
|
||||||
loadBlogPosts(groupId);
|
loadBlogPosts(groupId);
|
||||||
|
|||||||
Reference in New Issue
Block a user