mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 15:27:55 -04:00
Added a safety comment in tabs restoration method to avoid unexpected modifications in it
This commit is contained in:
parent
3748b17eaf
commit
e9500b3faf
@ -1561,6 +1561,8 @@ public abstract class CoreReaderFragment extends BaseFragment
|
||||
return Math.max(settings.getInt(TAG_CURRENT_TAB, 0), 0);
|
||||
}
|
||||
|
||||
/* This method restores tabs state in new launches, do not modify it
|
||||
unless it is explicitly mentioned in the issue you're fixing */
|
||||
protected void restoreTabs(@Nullable String zimArticles, @Nullable String zimPositions,
|
||||
int currentTab) {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user