From 79635976eaf0080ce1d4d155ff1d885e3214fce6 Mon Sep 17 00:00:00 2001 From: Pietro Carrara Date: Mon, 14 Jun 2021 12:01:26 -0300 Subject: [PATCH] Fix draft loading --- .../com/github/adamantcheese/chan/ui/layout/ReplyLayout.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/layout/ReplyLayout.java b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/layout/ReplyLayout.java index cc6a557f6..058350559 100644 --- a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/layout/ReplyLayout.java +++ b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/layout/ReplyLayout.java @@ -614,6 +614,9 @@ public void loadDraftIntoViews(Reply draft) { if (!draft.flag.equals("")) { setFlagPickerText(draft.flag); pickedFlag = new Flag(draft.flag, draft.flag, null); + } else { + flagPicker.setText(R.string.reply_flag); + pickedFlag = null; } options.setText(draft.options); fileName.setText(draft.fileName);