]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java
whitespace
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / ui / activity / MainActivity.java
index ad5da965d49ed5f11f059eb6eddd309f8c7c9c28..9cb045d7a00ec44d69c6617d2730ba0f400fbef6 100644 (file)
@@ -87,6 +87,7 @@ public class MainActivity extends CrashReportingActivity {
     @Override
     protected void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
+
         setContentView(R.layout.activity_main);
         Toolbar toolbar = findViewById(R.id.toolbar);
         setSupportActionBar(toolbar);
@@ -381,6 +382,11 @@ public class MainActivity extends CrashReportingActivity {
         Intent intent = new Intent(this, ProfileListActivity.class);
         startActivity(intent);
     }
+    public void fabShouldShow() {
+        MobileLedgerProfile profile = Data.profile.get();
+        if ((profile != null) && profile.isPostingPermitted()) fab.show();
+    }
+
     public class SectionsPagerAdapter extends FragmentPagerAdapter {
 
         public SectionsPagerAdapter(FragmentManager fm) {
@@ -406,8 +412,4 @@ public class MainActivity extends CrashReportingActivity {
             return 2;
         }
     }
-    public void fabShouldShow() {
-        MobileLedgerProfile profile = Data.profile.get();
-        if ((profile != null) && profile.isPostingPermitted()) fab.show();
-    }
 }