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
|
@ -101,8 +101,8 @@ dependencies {
|
||||||
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
||||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
||||||
|
|
||||||
__32bitImplementation 'io.lbry:lbrysdk32:0.79.0'
|
__32bitImplementation 'io.lbry:lbrysdk32:0.79.1'
|
||||||
__64bitImplementation 'io.lbry:lbrysdk64:0.79.0'
|
__64bitImplementation 'io.lbry:lbrysdk64:0.79.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'com.google.gms.google-services'
|
apply plugin: 'com.google.gms.google-services'
|
||||||
|
|
|
@ -1795,11 +1795,11 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener
|
||||||
|
|
||||||
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(MainActivity.this);
|
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(MainActivity.this);
|
||||||
sp.edit().putBoolean(PREFERENCE_KEY_INTERNAL_INITIAL_SUBSCRIPTION_MERGE_DONE, true).apply();
|
sp.edit().putBoolean(PREFERENCE_KEY_INTERNAL_INITIAL_SUBSCRIPTION_MERGE_DONE, true).apply();
|
||||||
|
Lbryio.cacheResolvedSubscriptions.clear();
|
||||||
|
|
||||||
for (Fragment fragment : openNavFragments.values()) {
|
for (Fragment fragment : openNavFragments.values()) {
|
||||||
if (fragment instanceof FollowingFragment) {
|
if (fragment instanceof FollowingFragment) {
|
||||||
// reload local subscriptions
|
// reload local subscriptions
|
||||||
Lbryio.cacheResolvedSubscriptions.clear();
|
|
||||||
FollowingFragment followingFragment = (FollowingFragment) fragment;
|
FollowingFragment followingFragment = (FollowingFragment) fragment;
|
||||||
followingFragment.fetchLoadedSubscriptions(true);
|
followingFragment.fetchLoadedSubscriptions(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue