[Calling][Feature] Remove setTitle(String title) (#436)
This commit is contained in:
Родитель
32bdc111f7
Коммит
48e5af217c
|
@ -30,17 +30,7 @@ public final class CallCompositeNavigationBarViewData {
|
|||
}
|
||||
|
||||
/**
|
||||
* Set the title of the call setup screen to the supplied String.
|
||||
* @param title Title of the call.
|
||||
* @return The current {@link CallCompositeNavigationBarViewData}.
|
||||
*/
|
||||
public CallCompositeNavigationBarViewData setTitle(final String title) {
|
||||
this.title = title;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the call sub title.
|
||||
* Get the call subtitle.
|
||||
* @return The subtitle of the call.
|
||||
*/
|
||||
public String getSubtitle() {
|
||||
|
|
|
@ -143,7 +143,7 @@ internal class SetupFragment :
|
|||
|
||||
callCompositeActivity.supportActionBar?.title = titleSpan
|
||||
|
||||
// Only set the subTitle if the title has also been set
|
||||
// Only set the subtitle if the title has also been set
|
||||
if (!TextUtils.isEmpty(localOptions?.navigationBarViewData?.title) &&
|
||||
!TextUtils.isEmpty(localOptions?.navigationBarViewData?.subtitle)
|
||||
) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче