From: Damyan Ivanov Date: Thu, 28 Mar 2019 22:10:13 +0000 (+0200) Subject: remove unused reference to the profile detail FAB X-Git-Tag: v0.9~51 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=dc792fac64192abb61c6533c0ff0e2d56d298cb9;p=mobile-ledger.git remove unused reference to the profile detail FAB the fragment already takes care of it --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileDetailActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileDetailActivity.java index e07be3b0..c308d632 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileDetailActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileDetailActivity.java @@ -20,10 +20,6 @@ package net.ktnx.mobileledger.ui.activity; import android.os.Bundle; import android.util.Log; import android.view.Menu; -import android.view.View; - -import com.google.android.material.floatingactionbutton.FloatingActionButton; -import com.google.android.material.snackbar.Snackbar; import net.ktnx.mobileledger.R; import net.ktnx.mobileledger.model.Data; @@ -62,15 +58,6 @@ public class ProfileDetailActivity extends CrashReportingActivity { Toolbar toolbar = findViewById(R.id.detail_toolbar); setSupportActionBar(toolbar); - FloatingActionButton fab = findViewById(R.id.fab); - fab.setOnClickListener(new View.OnClickListener() { - @Override - public void onClick(View view) { - Snackbar.make(view, "Replace with your own detail action", Snackbar.LENGTH_LONG) - .setAction("Action", null).show(); - } - }); - // Show the Up button in the action bar. ActionBar actionBar = getSupportActionBar(); if (actionBar != null) {