sdk 0.79.1. Clear resolved sub cache after sync.
This commit is contained in:
parent
88a43dc679
commit
74c7a1de4d
2 changed files with 3 additions and 3 deletions
app/src/main/java/io/lbry/browser
|
@ -1795,11 +1795,11 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener
|
|||
|
||||
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(MainActivity.this);
|
||||
sp.edit().putBoolean(PREFERENCE_KEY_INTERNAL_INITIAL_SUBSCRIPTION_MERGE_DONE, true).apply();
|
||||
Lbryio.cacheResolvedSubscriptions.clear();
|
||||
|
||||
for (Fragment fragment : openNavFragments.values()) {
|
||||
if (fragment instanceof FollowingFragment) {
|
||||
// reload local subscriptions
|
||||
Lbryio.cacheResolvedSubscriptions.clear();
|
||||
FollowingFragment followingFragment = (FollowingFragment) fragment;
|
||||
followingFragment.fetchLoadedSubscriptions(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue