First bugfix release. Also, added a link to the "No Account?" dialog on the login page.

This commit is contained in:
Vavassor 2017-03-15 20:01:23 -04:00
parent e48bf683f7
commit 263d586a51
3 changed files with 9 additions and 5 deletions

View file

@ -7,8 +7,8 @@ android {
applicationId "com.keylesspalace.tusky"
minSdkVersion 15
targetSdkVersion 25
versionCode 9
versionName "1.0.0"
versionCode 10
versionName "1.0.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary true
}

View file

@ -23,6 +23,7 @@ import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.method.LinkMovementMethod;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
@ -191,7 +192,7 @@ public class LoginActivity extends AppCompatActivity {
noAccount.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
new AlertDialog.Builder(context)
AlertDialog dialog = new AlertDialog.Builder(context)
.setMessage(R.string.dialog_no_account)
.setPositiveButton(R.string.action_close,
new DialogInterface.OnClickListener() {
@ -201,6 +202,8 @@ public class LoginActivity extends AppCompatActivity {
}
})
.show();
TextView textView = (TextView) dialog.findViewById(android.R.id.message);
textView.setMovementMethod(LinkMovementMethod.getInstance());
}
});
}

View file

@ -92,8 +92,9 @@
<string name="dialog_no_account">
Similar to an email address, a Mastodon account can be provided by any one of many
websites.\n\nSo, find the address of one you\'d like to join and enter it here. This will
direct you there to either make an account or log in.
websites.\n\nSo the address of any instance can be entered here, which will direct you
there to either make an account or log in.\n\nMore can be found at
<a href="https://mastodon.social/about">mastodon.social</a>.
</string>
<string name="dialog_title_finishing_media_upload">Finishing Media Upload</string>
<string name="dialog_message_uploading_media">Uploading…</string>