Commit 52dfcfba authored by Valere's avatar Valere

cleaning

parent 76711635
......@@ -64,7 +64,9 @@ class WidgetActivity : VectorAppCompatActivity() {
if (dFrag != null && dFrag.dialog?.isShowing == true && !dFrag.isRemoving) {
//already there
} else {
RoomWidgetPermissionBottomSheet.newInstance(viewModel.session!!.myUserId, viewModel.widget).show(supportFragmentManager, FRAGMENT_TAG_PERMISSION)
RoomWidgetPermissionBottomSheet
.newInstance(viewModel.session!!.myUserId, viewModel.widget)
.show(supportFragmentManager, FRAGMENT_TAG_PERMISSION)
}
}
WidgetState.WIDGET_ALLOWED -> {
......
......@@ -76,7 +76,12 @@ class RoomWidgetPermissionBottomSheet : VectorBaseBottomSheetDialogFragment() {
} else {
val start = infoBuilder.length
infoBuilder.append(bulletPoint)
infoBuilder.setSpan(BulletSpan(resources.getDimension(R.dimen.quote_gap).toInt()), start, bulletPoint.length, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE)
infoBuilder.setSpan(
BulletSpan(resources.getDimension(R.dimen.quote_gap).toInt()),
start,
bulletPoint.length,
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE
)
}
}
infoBuilder.append("\n")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment