(correction) fix some forgot code to present the pull request :D
This commit is contained in:
parent
87c1edb3d4
commit
76fca004ee
3 changed files with 3 additions and 15 deletions
|
@ -208,7 +208,7 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm
|
||||||
public boolean onLongClick(View v) {
|
public boolean onLongClick(View v) {
|
||||||
boolean b = saveTheToot(textEditor.getText().toString());
|
boolean b = saveTheToot(textEditor.getText().toString());
|
||||||
if (b) {
|
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;
|
return b;
|
||||||
}
|
}
|
||||||
|
@ -538,7 +538,6 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm
|
||||||
List<String> list = new ArrayList<>();
|
List<String> list = new ArrayList<>();
|
||||||
for (QueuedMedia q :
|
for (QueuedMedia q :
|
||||||
mediaQueued) {
|
mediaQueued) {
|
||||||
Log.d("list", "" + q.uri);
|
|
||||||
list.add(q.uri.toString());
|
list.add(q.uri.toString());
|
||||||
}
|
}
|
||||||
String json = new Gson().toJson(list);
|
String json = new Gson().toJson(list);
|
||||||
|
@ -1267,13 +1266,6 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm
|
||||||
return super.onOptionsItemSelected(item);
|
return super.onOptionsItemSelected(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onBackPressed() {
|
|
||||||
super.onBackPressed();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onReceiveHeaderInfo(ParserUtils.HeaderInfo headerInfo) {
|
public void onReceiveHeaderInfo(ParserUtils.HeaderInfo headerInfo) {
|
||||||
if (!TextUtils.isEmpty(headerInfo.title)) {
|
if (!TextUtils.isEmpty(headerInfo.title)) {
|
||||||
|
|
|
@ -24,7 +24,6 @@ import android.support.v7.widget.DividerItemDecoration;
|
||||||
import android.support.v7.widget.LinearLayoutManager;
|
import android.support.v7.widget.LinearLayoutManager;
|
||||||
import android.support.v7.widget.RecyclerView;
|
import android.support.v7.widget.RecyclerView;
|
||||||
import android.support.v7.widget.Toolbar;
|
import android.support.v7.widget.Toolbar;
|
||||||
import android.util.Log;
|
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
@ -98,10 +97,6 @@ public class SavedTootActivity extends BaseActivity implements SavedTootAdapter.
|
||||||
@Override
|
@Override
|
||||||
protected void onPostExecute(List<TootEntity> tootEntities) {
|
protected void onPostExecute(List<TootEntity> tootEntities) {
|
||||||
super.onPostExecute(tootEntities);
|
super.onPostExecute(tootEntities);
|
||||||
for (TootEntity t : tootEntities) {
|
|
||||||
Log.e("toot", "id=" + t.getUid() + "text=" + t.getText());
|
|
||||||
}
|
|
||||||
|
|
||||||
// set ui
|
// set ui
|
||||||
setNoContent(tootEntities.size());
|
setNoContent(tootEntities.size());
|
||||||
adapter.addItems(tootEntities);
|
adapter.addItems(tootEntities);
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
<string name="action_accept">Accept</string>
|
<string name="action_accept">Accept</string>
|
||||||
<string name="action_reject">Reject</string>
|
<string name="action_reject">Reject</string>
|
||||||
<string name="action_search">Search</string>
|
<string name="action_search">Search</string>
|
||||||
<string name="action_access_saved_toot">Saved Toot</string>
|
<string name="action_access_saved_toot">Drafts</string>
|
||||||
|
|
||||||
<string name="send_status_link_to">Share toot URL to…</string>
|
<string name="send_status_link_to">Share toot URL to…</string>
|
||||||
<string name="send_status_content_to">Share toot to…</string>
|
<string name="send_status_content_to">Share toot to…</string>
|
||||||
|
@ -199,5 +199,6 @@
|
||||||
|
|
||||||
<string name="combine_s1_s2">%1$s %2$s</string>
|
<string name="combine_s1_s2">%1$s %2$s</string>
|
||||||
<string name="no_content">no content</string>
|
<string name="no_content">no content</string>
|
||||||
|
<string name="action_save_one_toot">Toot saved !</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue