articlepager: fix context being lost after activity resume in offline
mode (closes #533) bump version
This commit is contained in:
parent
be9c8d6614
commit
baf1bea932
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.fox.ttrss"
|
||||
android:versionCode="136"
|
||||
android:versionName="1.14" >
|
||||
android:versionCode="137"
|
||||
android:versionName="1.15" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="8"
|
||||
|
@ -195,6 +195,7 @@ public class OfflineArticleFragment extends Fragment implements GestureDetector.
|
||||
} else {
|
||||
cssOverride = "body { background : transparent; }";
|
||||
}
|
||||
web.setBackgroundColor(getResources().getColor(android.R.color.transparent));
|
||||
|
||||
String hexColor = String.format("#%06X", (0xFFFFFF & tv.data));
|
||||
cssOverride += " a:link {color: "+hexColor+";} a:visited { color: "+hexColor+";}";
|
||||
|
@ -137,6 +137,10 @@ public class OfflineArticlePager extends Fragment {
|
||||
m_isCat = savedInstanceState.getBoolean("isCat", false);
|
||||
}
|
||||
|
||||
Log.d(TAG, "feed=" + m_feedId + "; iscat=" + m_isCat);
|
||||
|
||||
m_cursor = createCursor();
|
||||
|
||||
m_adapter = new PagerAdapter(getActivity().getSupportFragmentManager());
|
||||
|
||||
int position = 0;
|
||||
@ -203,8 +207,6 @@ public class OfflineArticlePager extends Fragment {
|
||||
|
||||
m_prefs = PreferenceManager.getDefaultSharedPreferences(getActivity().getApplicationContext());
|
||||
|
||||
m_cursor = createCursor();
|
||||
|
||||
}
|
||||
|
||||
public void refresh() {
|
||||
|
Loading…
Reference in New Issue
Block a user