Skip to content

Commit

Permalink
Interstitial commit #2
Browse files Browse the repository at this point in the history
  • Loading branch information
AndraxDev committed Mar 16, 2024
1 parent aa2f40f commit ce43aea
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ class SettingsV2Activity : FragmentActivity() {
R.drawable.ic_lock,
false,
chatId,
"This feature allows you to lock assistant window. When assistant window is locked, it can not be closed by pressing back button or swiping window down. Nut you can use 'exit' button. This feature can prevent accidental closing of assistant window and losing unsaved conversation."
"This feature allows you to lock assistant window. When assistant window is locked, it can not be closed by pressing back button or swiping window down. But you can use 'exit' button. This feature can prevent accidental closing of assistant window and losing unsaved conversation."
)

supportFragmentManager.beginTransaction().replace(R.id.tile_account, tileAccountFragment!!).commit()
Expand Down
20 changes: 18 additions & 2 deletions app/src/main/res/layout/fragment_tips.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">

Expand Down Expand Up @@ -262,11 +263,9 @@
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
android:background="@drawable/btn_tip1"
android:orientation="vertical"
android:padding="16dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tip_10">
Expand All @@ -278,6 +277,23 @@
android:text="@string/tip_11"
android:textColor="@color/tip1" />
</LinearLayout>

<TextView
android:id="@+id/tip12_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
android:background="@drawable/btn_tip1"
android:padding="16dp"
android:text="@string/tip_12"
android:textColor="@color/tip1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tip_11" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
</ScrollView>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-en/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,5 @@
<string name="prompt_report_success">Objection sent. Thank you for feedback!</string>
<string name="prompt_report_failed">Failed to send report</string>
<string name="title_control_center">Control center</string>
<string name="tip_12">Long press on setting tile to show function description. Works only on new settings UI. You can access new settings UI (Control center) by pressing on the \'lab\' icon in the regular settings.</string>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,5 @@
<string name="global_settings_title">Global settings</string>
<string name="chat_settings_title">Chat settings</string>
<string name="title_control_center">Control center</string>
<string name="tip_12">Long press on setting tile to show function description. Works only on new settings UI. You can access new settings UI (Control center) by pressing on the \'lab\' icon in the regular settings.</string>
</resources>

0 comments on commit ce43aea

Please sign in to comment.