mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
remove dead code, follow up to #2456
This commit is contained in:
@@ -33,7 +33,6 @@ public class ProfileSettingsAdapter extends RecyclerView.Adapter
|
||||
implements StickyHeaderAdapter<ProfileSettingsAdapter.HeaderViewHolder>
|
||||
{
|
||||
public static final int SETTING_SEND_MESSAGE = 120;
|
||||
public static final int SETTING_NEW_GROUP = 130;
|
||||
|
||||
private final @NonNull Context context;
|
||||
private final @NonNull Locale locale;
|
||||
|
||||
@@ -146,10 +146,6 @@ public class ProfileSettingsFragment extends Fragment
|
||||
case ProfileSettingsAdapter.SETTING_SEND_MESSAGE:
|
||||
onSendMessage();
|
||||
break;
|
||||
|
||||
case ProfileSettingsAdapter.SETTING_NEW_GROUP:
|
||||
onNewGroupWith();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -248,15 +244,6 @@ public class ProfileSettingsFragment extends Fragment
|
||||
}
|
||||
}
|
||||
|
||||
private void onNewGroupWith() {
|
||||
ArrayList<Integer> preselectedContactIds = new ArrayList<>();
|
||||
preselectedContactIds.add(contactId);
|
||||
|
||||
Intent intent = new Intent(getActivity(), GroupCreateActivity.class);
|
||||
intent.putExtra(GroupCreateActivity.SUGGESTED_CONTACT_IDS, preselectedContactIds);
|
||||
getActivity().startActivity(intent);
|
||||
}
|
||||
|
||||
private class ActionModeCallback implements ActionMode.Callback {
|
||||
|
||||
private int originalStatusBarColor;
|
||||
|
||||
Reference in New Issue
Block a user