mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-18 11:55:38 -04:00
fixed #384
This commit is contained in:
parent
8d8f97d749
commit
c2960ae7e3
@ -1599,7 +1599,9 @@ public class KiwixMobileActivity extends AppCompatActivity {
|
||||
}
|
||||
if (menu.findItem(R.id.menu_bookmarks) != null &&
|
||||
getCurrentWebView().getUrl() != null &&
|
||||
ZimContentProvider.getId() != null) {
|
||||
ZimContentProvider.getId() != null &&
|
||||
!getCurrentWebView().getUrl().equals("file:///android_res/raw/welcome.html")) {
|
||||
|
||||
menu.findItem(R.id.menu_bookmarks).setVisible(true);
|
||||
if (bookmarks.contains(getCurrentWebView().getUrl())) {
|
||||
menu.findItem(R.id.menu_bookmarks).setIcon(R.drawable.action_bookmark_active);
|
||||
|
Loading…
x
Reference in New Issue
Block a user