Fix view toggle menu item label.

This commit is contained in:
Iain Billett
2012-06-15 21:25:31 +01:00
parent 03a59c7096
commit 2b8b434325

View File

@@ -176,9 +176,9 @@ public class LibreOfficeUIActivity extends Activity implements OnNavigationListe
MenuItem item = (MenuItem)menu.findItem(R.id.menu_view_toggle);
if( viewType == GRID_VIEW){
item.setTitle(R.string.grid_view);
}else{
item.setTitle(R.string.list_view);
}else{
item.setTitle(R.string.grid_view);
}
return true;
}