Remove inline insert

captchafix
Floens 11 years ago
parent e3c984a4c7
commit 752f524354
  1. 11
      Clover/app/src/main/java/org/floens/chan/ui/fragment/ReplyFragment.java
  2. 10
      Clover/app/src/main/res/layout/reply_input.xml
  3. 1
      Clover/app/src/main/res/values/strings.xml

@ -101,7 +101,6 @@ public class ReplyFragment extends DialogFragment {
private LoadView captchaContainer; private LoadView captchaContainer;
private TextView captchaInput; private TextView captchaInput;
private LoadView responseContainer; private LoadView responseContainer;
private Button insertInline;
private Button insertSpoiler; private Button insertSpoiler;
private Button insertCode; private Button insertCode;
private TextView commentCountView; private TextView commentCountView;
@ -332,14 +331,6 @@ public class ReplyFragment extends DialogFragment {
} }
}); });
insertInline = (Button) container.findViewById(R.id.insert_inline);
insertInline.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
insertAtCursor(">", "");
}
});
insertSpoiler = (Button) container.findViewById(R.id.insert_spoiler); insertSpoiler = (Button) container.findViewById(R.id.insert_spoiler);
insertSpoiler.setOnClickListener(new OnClickListener() { insertSpoiler.setOnClickListener(new OnClickListener() {
@Override @Override
@ -367,8 +358,6 @@ public class ReplyFragment extends DialogFragment {
if (page == 1) { if (page == 1) {
flipPage(0); flipPage(0);
return false; return false;
} else if (page == 2) {
return false;
} else { } else {
return true; return true;
} }

@ -81,16 +81,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
<Button
android:id="@+id/insert_inline"
style="?android:buttonBarButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minHeight="36dp"
android:minWidth="48dp"
android:text="@string/reply_insert_inline"
android:textSize="14sp" />
<Button <Button
android:id="@+id/insert_spoiler" android:id="@+id/insert_spoiler"
style="?android:buttonBarButtonStyle" style="?android:buttonBarButtonStyle"

@ -121,7 +121,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<string name="reply_spoiler_image">Spoiler image</string> <string name="reply_spoiler_image">Spoiler image</string>
<string name="reply_no_preview">No preview available</string> <string name="reply_no_preview">No preview available</string>
<string name="reply_insert_inline">&gt;</string>
<string name="reply_insert_spoiler">[spoiler]</string> <string name="reply_insert_spoiler">[spoiler]</string>
<string name="reply_insert_code">[code]</string> <string name="reply_insert_code">[code]</string>

Loading…
Cancel
Save