Fix small issues

This commit is contained in:
vshcherb 2014-05-25 12:13:48 +02:00
parent de0d962ce4
commit c1bca903e8
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ public class ShareDialog {
} }
share.add(new ShareType(longExplanation, EMAIL)); share.add(new ShareType(longExplanation, EMAIL));
share.add(new ShareType(shortExplanation, SMS)); share.add(new ShareType(shortExplanation, SMS));
share.add(new ShareType(shortExplanation, CLIPBOARD)); share.add(new ShareType(url, CLIPBOARD));
share.add(new ShareType(url, QR)); share.add(new ShareType(url, QR));
return this; return this;
} }

View file

@ -96,7 +96,7 @@ public class SettingsOsMoActivity extends SettingsBaseActivity {
ShareDialog dlg = new ShareDialog(this); ShareDialog dlg = new ShareDialog(this);
dlg.setTitle(getString(R.string.osmo_tracker_id)); dlg.setTitle(getString(R.string.osmo_tracker_id));
dlg.viewContent(ci.trackerId); dlg.viewContent(ci.trackerId);
dlg.shareURLOrText(ci.trackerId, getString(R.string.osmo_tracker_id_share, ci.trackerId), null); dlg.shareURLOrText(ci.trackerId, getString(R.string.osmo_tracker_id_share, ci.trackerId, ""), null);
dlg.showDialog(); dlg.showDialog();
} }
} }