[Calling][Feature] Remove setTitle(String title) (#436)

This commit is contained in:
pavelprystinka 2022-09-19 10:08:25 -07:00 коммит произвёл Mohtasim
Родитель 32bdc111f7
Коммит 48e5af217c
2 изменённых файлов: 2 добавлений и 12 удалений

Просмотреть файл

@ -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)
) {