Compare commits
2 Commits
8a9ea703c7
...
e7b6d0b9c3
Author | SHA1 | Date | |
---|---|---|---|
e7b6d0b9c3 | |||
aedeb80fbd |
@ -167,6 +167,8 @@ public class MessagesActivity extends Activity {
|
|||||||
// button send message
|
// button send message
|
||||||
imageButtonSend = findViewById(R.id.imageButtonSend);
|
imageButtonSend = findViewById(R.id.imageButtonSend);
|
||||||
imageButtonSend.setOnClickListener(v -> {
|
imageButtonSend.setOnClickListener(v -> {
|
||||||
|
if (editTextMsg.getText().toString().isEmpty())
|
||||||
|
return;
|
||||||
sendSMS(getScId(), editTextMsg.getText().toString());
|
sendSMS(getScId(), editTextMsg.getText().toString());
|
||||||
Toast.makeText(context, "Sending message...", Toast.LENGTH_SHORT).show();
|
Toast.makeText(context, "Sending message...", Toast.LENGTH_SHORT).show();
|
||||||
// disable send button and editBox
|
// disable send button and editBox
|
||||||
|
@ -1225,7 +1225,8 @@ public class TabLayoutActivity extends AbstractSDParentActivity {
|
|||||||
image.setImageResource(AppParams.DEMO ? R.drawable.icon_demo : R.mipmap.ic_launcher);
|
image.setImageResource(AppParams.DEMO ? R.drawable.icon_demo : R.mipmap.ic_launcher);
|
||||||
TextView text = dialog.findViewById(R.id.text);
|
TextView text = dialog.findViewById(R.id.text);
|
||||||
TextView text2 = dialog.findViewById(R.id.text2);
|
TextView text2 = dialog.findViewById(R.id.text2);
|
||||||
text.setText(String.format("%s1.0.8", getString(R.string.version)));
|
text.setText(getString(R.string.version) + " " + BuildConfig.VERSION_NAME);
|
||||||
|
|
||||||
text2.setText(String.format("%s: support@safemobile.com", getString(R.string.email)));
|
text2.setText(String.format("%s: support@safemobile.com", getString(R.string.email)));
|
||||||
dialog.setCancelable(true);
|
dialog.setCancelable(true);
|
||||||
dialog.setCanceledOnTouchOutside(true);
|
dialog.setCanceledOnTouchOutside(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user