mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
chore: updated tempo references to tempus including github check
This commit is contained in:
parent
747af0d81c
commit
de14663b25
3 changed files with 4 additions and 4 deletions
|
|
@ -3,8 +3,8 @@ package com.cappielloantonio.tempo.github;
|
||||||
import com.cappielloantonio.tempo.github.api.release.ReleaseClient;
|
import com.cappielloantonio.tempo.github.api.release.ReleaseClient;
|
||||||
|
|
||||||
public class Github {
|
public class Github {
|
||||||
private static final String OWNER = "CappielloAntonio";
|
private static final String OWNER = "eddyizm";
|
||||||
private static final String REPO = "Tempo";
|
private static final String REPO = "Tempus";
|
||||||
private ReleaseClient releaseClient;
|
private ReleaseClient releaseClient;
|
||||||
|
|
||||||
public ReleaseClient getReleaseClient() {
|
public ReleaseClient getReleaseClient() {
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import java.util.UUID;
|
||||||
public class SubsonicPreferences {
|
public class SubsonicPreferences {
|
||||||
private String serverUrl;
|
private String serverUrl;
|
||||||
private String username;
|
private String username;
|
||||||
private String clientName = "Tempo";
|
private String clientName = "Tempus";
|
||||||
private SubsonicAuthentication authentication;
|
private SubsonicAuthentication authentication;
|
||||||
|
|
||||||
public String getServerUrl() {
|
public String getServerUrl() {
|
||||||
|
|
|
||||||
|
|
@ -438,7 +438,7 @@ public class MainActivity extends BaseActivity {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkTempoUpdate() {
|
private void checkTempoUpdate() {
|
||||||
if (BuildConfig.FLAVOR.equals("tempo") && Preferences.showTempoUpdateDialog()) {
|
if (BuildConfig.FLAVOR.equals("tempus") && Preferences.showTempoUpdateDialog()) {
|
||||||
mainViewModel.checkTempoUpdate().observe(this, latestRelease -> {
|
mainViewModel.checkTempoUpdate().observe(this, latestRelease -> {
|
||||||
if (latestRelease != null && UpdateUtil.showUpdateDialog(latestRelease)) {
|
if (latestRelease != null && UpdateUtil.showUpdateDialog(latestRelease)) {
|
||||||
GithubTempoUpdateDialog dialog = new GithubTempoUpdateDialog(latestRelease);
|
GithubTempoUpdateDialog dialog = new GithubTempoUpdateDialog(latestRelease);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue