From dc792fac64192abb61c6533c0ff0e2d56d298cb9 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 29 Mar 2019 00:10:13 +0200 Subject: [PATCH] remove unused reference to the profile detail FAB the fragment already takes care of it --- .../ui/activity/ProfileDetailActivity.java | 13 ------------- 1 file changed, 13 deletions(-) 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) { -- 2.39.5