mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Fix Incorrect Tab headings in tab overview after deleting all zim files
This commit is contained in:
parent
cf49a69f73
commit
b780880627
@ -128,6 +128,8 @@ public class TabsAdapter extends RecyclerView.Adapter<TabsAdapter.ViewHolder> {
|
||||
if (webViewTitle.contains("REPLACE_")) {
|
||||
webViewTitle =
|
||||
getResourceString(holder.title.getContext().getApplicationContext(), webViewTitle);
|
||||
} else if (webViewTitle.contains("content://org.kiwix")) {
|
||||
webViewTitle = activity.getString(R.string.menu_home);
|
||||
}
|
||||
holder.title.setText(webViewTitle);
|
||||
holder.close.setOnClickListener(v -> listener.onCloseTab(v, holder.getAdapterPosition()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user