mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 05:05:31 +03:00
Project did not compile after removing prefs_menu.xml
This commit is contained in:
parent
4ee419da91
commit
957a9303da
1 changed files with 4 additions and 3 deletions
|
@ -146,8 +146,8 @@ public class Preferences extends SherlockPreferenceActivity implements
|
|||
@Override
|
||||
public boolean onCreateOptionsMenu(Menu menu) {
|
||||
super.onCreateOptionsMenu(menu);
|
||||
MenuInflater inflater = getSherlock().getMenuInflater();
|
||||
inflater.inflate(R.menu.prefs_menu, menu);
|
||||
//MenuInflater inflater = getSherlock().getMenuInflater();
|
||||
//inflater.inflate(R.menu.prefs_menu, menu);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -157,7 +157,8 @@ public class Preferences extends SherlockPreferenceActivity implements
|
|||
Intent intent;
|
||||
|
||||
switch (item.getItemId()) {
|
||||
case R.id.addSessionItem:
|
||||
//case R.id.addSessionItem:
|
||||
case 1:
|
||||
intent = new Intent(this, PreferencesNewSession.class);
|
||||
startActivityForResult(intent, mNewSession);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue