mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 08:32:16 +01:00
Moved log
This commit is contained in:
@@ -218,7 +218,10 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
drawerLayout.closeDrawer(drawerList);
|
||||
onMenuInbox((long) item.getData());
|
||||
return true;
|
||||
case R.string.menu_about:
|
||||
case R.string.menu_setup:
|
||||
onShowLog();
|
||||
return true;
|
||||
case R.string.menu_faq:
|
||||
onDebugInfo();
|
||||
return true;
|
||||
default:
|
||||
@@ -779,6 +782,12 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
fragmentTransaction.commit();
|
||||
}
|
||||
|
||||
private void onShowLog() {
|
||||
FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
|
||||
fragmentTransaction.replace(R.id.content_frame, new FragmentLogs()).addToBackStack("logs");
|
||||
fragmentTransaction.commit();
|
||||
}
|
||||
|
||||
private void onDebugInfo() {
|
||||
new SimpleTask<Long>() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user