From b53f2d11bdb30c5f8b51eb14c3a3a26caa2a77f0 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sat, 27 Oct 2018 01:04:34 +0200 Subject: [PATCH] Remove old way of device renaming --- src/org/kde/kdeconnect/UserInterface/MainActivity.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/org/kde/kdeconnect/UserInterface/MainActivity.java b/src/org/kde/kdeconnect/UserInterface/MainActivity.java index 82d8d5ed..661027d7 100644 --- a/src/org/kde/kdeconnect/UserInterface/MainActivity.java +++ b/src/org/kde/kdeconnect/UserInterface/MainActivity.java @@ -95,10 +95,6 @@ public class MainActivity extends AppCompatActivity { TextView nameView = mDrawerHeader.findViewById(R.id.device_name); nameView.setText(deviceName); - View.OnClickListener renameListener = v -> openRenameDeviceDialog(); - mDrawerHeader.findViewById(R.id.kdeconnect_label).setOnClickListener(renameListener); - mDrawerHeader.findViewById(R.id.device_name).setOnClickListener(renameListener); - preferences = getSharedPreferences("stored_menu_selection", Context.MODE_PRIVATE); mNavigationView.setNavigationItemSelectedListener(menuItem -> {