pretty much finishes the prototype
This commit is contained in:
parent
6ee6157b7f
commit
036a305782
2 changed files with 3 additions and 3 deletions
|
@ -163,7 +163,7 @@ public class BaseActivity extends AppCompatActivity {
|
||||||
|
|
||||||
protected void createTuskyApi() {
|
protected void createTuskyApi() {
|
||||||
Retrofit retrofit = new Retrofit.Builder()
|
Retrofit retrofit = new Retrofit.Builder()
|
||||||
.baseUrl("https://" + getString(R.string.tusky_api_domain) + ":8080")
|
.baseUrl("https://" + getString(R.string.tusky_api_url))
|
||||||
.client(OkHttpUtils.getCompatibleClient())
|
.client(OkHttpUtils.getCompatibleClient())
|
||||||
.addConverterFactory(GsonConverterFactory.create())
|
.addConverterFactory(GsonConverterFactory.create())
|
||||||
.build();
|
.build();
|
||||||
|
@ -173,7 +173,7 @@ public class BaseActivity extends AppCompatActivity {
|
||||||
|
|
||||||
protected void createPushNotificationClient() {
|
protected void createPushNotificationClient() {
|
||||||
pushNotificationClient = new PushNotificationClient(getApplicationContext(),
|
pushNotificationClient = new PushNotificationClient(getApplicationContext(),
|
||||||
"ssl://" + getString(R.string.tusky_api_domain) + ":8883");
|
"ssl://" + getString(R.string.tusky_api_url) + ":8883");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void redirectIfNotLoggedIn() {
|
protected void redirectIfNotLoggedIn() {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<resources>
|
<resources>
|
||||||
<string name="app_name" translatable="false">Tusky</string>
|
<string name="app_name" translatable="false">Tusky</string>
|
||||||
<string name="app_website" translatable="false">https://tusky.keylesspalace.com</string>
|
<string name="app_website" translatable="false">https://tusky.keylesspalace.com</string>
|
||||||
<string name="tusky_api_domain" translatable="false">apitusky.keylesspalace.com</string>
|
<string name="tusky_api_url" translatable="false">apitusky.keylesspalace.com</string>
|
||||||
<string name="tusky_api_keystore_password" translatable="false">your_password_here</string>
|
<string name="tusky_api_keystore_password" translatable="false">your_password_here</string>
|
||||||
|
|
||||||
<string name="oauth_scheme" translatable="false">oauth2redirect</string>
|
<string name="oauth_scheme" translatable="false">oauth2redirect</string>
|
||||||
|
|
Loading…
Reference in a new issue