diff --git a/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java b/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java index ef75d068a..61bf956d4 100644 --- a/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java @@ -208,7 +208,7 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm public boolean onLongClick(View v) { boolean b = saveTheToot(textEditor.getText().toString()); if (b) { - Toast.makeText(ComposeActivity.this, "Toot saved !", Toast.LENGTH_SHORT).show(); + Toast.makeText(ComposeActivity.this, R.string.action_save_one_toot, Toast.LENGTH_SHORT).show(); } return b; } @@ -538,7 +538,6 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm List list = new ArrayList<>(); for (QueuedMedia q : mediaQueued) { - Log.d("list", "" + q.uri); list.add(q.uri.toString()); } String json = new Gson().toJson(list); @@ -1267,13 +1266,6 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm return super.onOptionsItemSelected(item); } - - @Override - public void onBackPressed() { - super.onBackPressed(); - } - - @Override public void onReceiveHeaderInfo(ParserUtils.HeaderInfo headerInfo) { if (!TextUtils.isEmpty(headerInfo.title)) { diff --git a/app/src/main/java/com/keylesspalace/tusky/SavedTootActivity.java b/app/src/main/java/com/keylesspalace/tusky/SavedTootActivity.java index b7e0f9248..88560dab2 100644 --- a/app/src/main/java/com/keylesspalace/tusky/SavedTootActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/SavedTootActivity.java @@ -24,7 +24,6 @@ import android.support.v7.widget.DividerItemDecoration; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; -import android.util.Log; import android.view.MenuItem; import android.view.View; import android.widget.TextView; @@ -98,10 +97,6 @@ public class SavedTootActivity extends BaseActivity implements SavedTootAdapter. @Override protected void onPostExecute(List tootEntities) { super.onPostExecute(tootEntities); - for (TootEntity t : tootEntities) { - Log.e("toot", "id=" + t.getUid() + "text=" + t.getText()); - } - // set ui setNoContent(tootEntities.size()); adapter.addItems(tootEntities); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a88b42a87..da6c5ac8f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -102,7 +102,7 @@ Accept Reject Search - Saved Toot + Drafts Share toot URL to… Share toot to… @@ -199,5 +199,6 @@ %1$s %2$s no content + Toot saved !