Improve "Configure URLs" screen to show current values in case someone is already defined
This commit is contained in:
parent
cf5ec24b14
commit
c7e2eeb3a6
@ -13,6 +13,9 @@ class ConfigureUrlsActivity : AppCompatActivity() {
|
||||
binding = ActivityConfigureUrlsBinding.inflate(layoutInflater)
|
||||
setContentView(binding.root)
|
||||
|
||||
binding.serverUrl.setText(Urls.applicationServerUrl)
|
||||
binding.livekitUrl.setText(Urls.livekitUrl)
|
||||
|
||||
binding.saveButton.setOnClickListener {
|
||||
onSaveUrls()
|
||||
}
|
||||
|
||||
@ -71,8 +71,8 @@ export class AppComponent implements OnDestroy {
|
||||
});
|
||||
|
||||
urlsForm = new FormGroup({
|
||||
serverUrl: new FormControl('', Validators.required),
|
||||
livekitUrl: new FormControl('', Validators.required),
|
||||
serverUrl: new FormControl(APPLICATION_SERVER_URL, Validators.required),
|
||||
livekitUrl: new FormControl(LIVEKIT_URL, Validators.required),
|
||||
});
|
||||
|
||||
room = signal<Room | undefined>(undefined);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user