Fixed minor bug and added warning text when app does not have sufficient permissions

This commit is contained in:
partisan 2025-06-03 21:13:38 +02:00
parent 042b079723
commit c8ede0d472
7 changed files with 98 additions and 25 deletions

View file

@ -34,4 +34,17 @@
app:iconGravity="textTop"
app:iconPadding="0dp"
app:cornerRadius="48dp" />
<TextView
android:id="@+id/warningText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:padding="16dp"
android:textColor="@android:color/white"
android:background="#AAFF5252"
android:textSize="14sp"
android:text=""
android:visibility="gone" />
</FrameLayout>

View file

@ -47,6 +47,10 @@
<item>Random</item>
</string-array>
<!-- Missing perms -->
<string name="warn_no_contacts">Unable to access contacts.</string>
<string name="warn_no_internet">No internet connection.</string>
<!-- Donate screen -->
<string name="donate_title">Support Pulse Development 💖</string>
<string name="donate_description">Pulse is free and open-source. You can support future development through Ko-fi. As a thank-you, donors get special popup animation effects!</string>