Stupid bug -.-

This commit is contained in:
Mike Schwörer 2018-12-14 19:23:36 +01:00
parent 74cbfb235e
commit 0a1b948042
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF

View File

@ -77,7 +77,7 @@ public class IABService implements PurchasesUpdatedListener
private void loadCache()
{
_localCache.clear();
SharedPreferences sharedPref = SCNApp.getContext().getSharedPreferences("iab", Context.MODE_PRIVATE);
SharedPreferences sharedPref = SCNApp.getContext().getSharedPreferences("IAB", Context.MODE_PRIVATE);
int count = sharedPref.getInt("c", 0);
for (int i=0; i < count; i++)
{
@ -90,7 +90,7 @@ public class IABService implements PurchasesUpdatedListener
private void saveCache()
{
SharedPreferences sharedPref = SCNApp.getContext().getSharedPreferences("CMessageList", Context.MODE_PRIVATE);
SharedPreferences sharedPref = SCNApp.getContext().getSharedPreferences("IAB", Context.MODE_PRIVATE);
SharedPreferences.Editor editor= sharedPref.edit();
editor.putInt("c", _localCache.size());