Skip to content

Commit 6dad9c3

Browse files
Merge pull request #266 from Ayush0Chaudhary/notif-bug
🐛 The instruction box was not visible in the notif trigger state
2 parents 2ba283f + 90eca90 commit 6dad9c3

File tree

5 files changed

+22
-21
lines changed

5 files changed

+22
-21
lines changed

app/src/main/res/layout/activity_choose_trigger_type.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
android:layout_height="wrap_content"
110110
android:text="Run a task when a notification arrives."
111111
android:textColor="#CECECE"
112-
android:textSize="16sp"/>
112+
android:textSize="16sp" />
113113
</LinearLayout>
114114
</LinearLayout>
115115
</androidx.cardview.widget.CardView>

app/src/main/res/layout/activity_create_trigger.xml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,24 @@
2727
android:layout_height="wrap_content"
2828
android:orientation="vertical"
2929
android:padding="16dp">
30+
<TextView
31+
style="@style/PermissionHeading"
32+
android:text="Task Instruction" />
3033

34+
<EditText
35+
android:id="@+id/instructionEditText"
36+
android:layout_width="match_parent"
37+
android:layout_height="wrap_content"
38+
android:background="@drawable/edit_text_border"
39+
android:hint="e.g., 'Read the notification'"
40+
android:inputType="textMultiLine"
41+
android:minLines="2"
42+
android:maxLines="5"
43+
android:scrollbars="vertical"
44+
android:gravity="top"
45+
android:padding="12dp"
46+
android:textColor="@color/white"
47+
android:textColorHint="#8A8A8E" />
3148
<LinearLayout
3249
android:id="@+id/scheduledTimeOptions"
3350
android:layout_width="match_parent"
@@ -44,24 +61,7 @@
4461
android:layout_height="wrap_content"
4562
android:theme="@style/AppTheme.NumberPicker"
4663
android:timePickerMode="spinner" />
47-
<TextView
48-
style="@style/PermissionHeading"
49-
android:text="Task Instruction" />
5064

51-
<EditText
52-
android:id="@+id/instructionEditText"
53-
android:layout_width="match_parent"
54-
android:layout_height="wrap_content"
55-
android:background="@drawable/edit_text_border"
56-
android:hint="e.g., 'Read the notification'"
57-
android:inputType="textMultiLine"
58-
android:minLines="2"
59-
android:maxLines="5"
60-
android:scrollbars="vertical"
61-
android:gravity="top"
62-
android:padding="12dp"
63-
android:textColor="@color/white"
64-
android:textColorHint="#8A8A8E" />
6565

6666
<TextView
6767
style="@style/PermissionHeading"

app/src/main/res/layout/activity_settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
android:layout_width="wrap_content"
156156
android:layout_height="wrap_content"
157157
android:layout_marginTop="4dp"
158-
android:text="Get your free Picovoice API Key, you can paste it here."
158+
android:text="@string/get_your_free_picovoice_api_key_you_can_paste_it_here"
159159
android:textColor="#888888"
160160
android:textSize="12sp" />
161161

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,6 @@
106106
<string name="accessibility_consent_message">Panda requires accessibility services to function as your AI assistant.\n\nThis enables voice-controlled automation of your device for hands-free operation and improved accessibility.\n\n🔒 All data processing occurs locally on your device for maximum privacy.</string>
107107
<string name="accept">Accept</string>
108108
<string name="decline">Decline</string>
109+
<string name="get_your_free_picovoice_api_key_you_can_paste_it_here">Get your free Picovoice API Key, you can paste it here.</string>
109110

110111
</resources>

version.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Do not modify manually - use Gradle tasks to update versions
44

55
# Current version code (integer - increments by 1 each release)
6-
VERSION_CODE=22
6+
VERSION_CODE=25
77

88
# Current version name (semantic version - increments patch number each release)
9-
VERSION_NAME=1.0.22
9+
VERSION_NAME=1.0.25

0 commit comments

Comments
 (0)