]> git.ktnx.net Git - mobile-ledger.git/commitdiff
whitespace
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 Feb 2019 20:13:07 +0000 (22:13 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 Feb 2019 20:13:07 +0000 (22:13 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.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();
-    }
 }
index 35851770c58b876495c2c5bf85bc6c5a0152991e..66c66da16472746c4b43146db0a4424ad662ba28 100644 (file)
@@ -88,6 +88,7 @@ public class NewTransactionActivity extends CrashReportingActivity
     @Override
     protected void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
+
         setContentView(R.layout.activity_new_transaction);
         Toolbar toolbar = findViewById(R.id.toolbar);
         setSupportActionBar(toolbar);