Add persistent upgrade Session ID button for V1 users

This commit is contained in:
Niels Andriesse
2020-12-16 14:50:27 +11:00
parent 23c973d316
commit 3cd1f0acff
2 changed files with 40 additions and 30 deletions

View File

@@ -159,23 +159,6 @@
android:gravity="center"
android:text="@string/activity_settings_chats_button_title" />
<View
android:id="@+id/linkedDevicesButtonTopSeparator"
android:layout_width="match_parent"
android:layout_height="1px"
android:background="?android:dividerHorizontal" />
<TextView
android:id="@+id/linkedDevicesButton"
android:layout_width="match_parent"
android:layout_height="@dimen/setting_button_height"
android:background="@drawable/setting_button_background"
android:textColor="@color/text"
android:textSize="@dimen/medium_font_size"
android:textStyle="bold"
android:gravity="center"
android:text="@string/activity_settings_devices_button_title" />
<View
android:layout_width="match_parent"
android:layout_height="1px"
@@ -193,7 +176,23 @@
android:text="Invite" />
<View
android:id="@+id/seedButtonTopSeparator"
android:id="@+id/upgradeSessionIDButtonTopSeparator"
android:layout_width="match_parent"
android:layout_height="1px"
android:background="?android:dividerHorizontal" />
<TextView
android:id="@+id/upgradeSessionIDButton"
android:layout_width="match_parent"
android:layout_height="@dimen/setting_button_height"
android:background="@drawable/setting_button_background"
android:textColor="@color/text"
android:textSize="@dimen/medium_font_size"
android:textStyle="bold"
android:gravity="center"
android:text="Upgrade Session ID" />
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="?android:dividerHorizontal" />