diff --git a/app/src/main/java/io/github/gsantner/memetastic/activity/MainActivity.java b/app/src/main/java/io/github/gsantner/memetastic/activity/MainActivity.java index 78725e1e9..70268b2f2 100644 --- a/app/src/main/java/io/github/gsantner/memetastic/activity/MainActivity.java +++ b/app/src/main/java/io/github/gsantner/memetastic/activity/MainActivity.java @@ -319,7 +319,6 @@ public boolean handleBarClick(MenuItem item) { case R.id.action_mode_create: { _currentMainMode = 0; - _emptylistText.setText(getString(R.string.main__nodata__custom_templates, getString(R.string.custom_templates_visual))); selectTab(app.settings.getLastSelectedTab(), app.settings.getDefaultMainMode()); _toolbar.setTitle(R.string.app_name); break; @@ -488,6 +487,7 @@ public void openImageViewActivityWithImage(String imagePath) { public void onTabSelected(TabLayout.Tab tab) { int tabPos = tab.getPosition(); List imageList = new ArrayList<>(); + _emptylistText.setText(getString(R.string.main__nodata__custom_templates, getString(R.string.custom_templates_visual))); if (tabPos >= 0 && tabPos < _tagKeys.length) { imageList = MemeData.getImagesWithTag(_tagKeys[tabPos]);