Add logs button to Login
This commit is contained in:
@@ -34,6 +34,7 @@ import com.github.gotify.client.model.Client;
|
||||
import com.github.gotify.client.model.VersionInfo;
|
||||
import com.github.gotify.init.InitializationActivity;
|
||||
import com.github.gotify.log.Log;
|
||||
import com.github.gotify.log.LogsActivity;
|
||||
import com.github.gotify.log.UncaughtExceptionHandler;
|
||||
import com.squareup.okhttp.HttpUrl;
|
||||
import java.io.InputStream;
|
||||
@@ -118,6 +119,11 @@ public class LoginActivity extends AppCompatActivity {
|
||||
.handleInUIThread(this, onValidUrl(fixedUrl), onInvalidUrl(fixedUrl));
|
||||
}
|
||||
|
||||
@OnClick(R.id.open_logs)
|
||||
public void openLogs() {
|
||||
startActivity(new Intent(this, LogsActivity.class));
|
||||
}
|
||||
|
||||
@OnClick(R.id.advanced_settings)
|
||||
void toggleShowAdvanced() {
|
||||
String selectedCertName =
|
||||
|
||||
Reference in New Issue
Block a user