mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-17 20:44:56 +00:00
Update passphrase caching notification strategy.
On platforms (API >= 11) that support receiving click events within a notification, we change the notification format so that users can "lock" TextSecure with a click. For all platforms, we change the notification icon in the status bar from a "lock" to an "unlock," to better reflect the situation. This is all part of the master plan for eliminating the passphrase timeout option.
This commit is contained in:
@@ -196,7 +196,7 @@
|
||||
|
||||
<!-- KeyCachingService -->
|
||||
<string name="textsecure_passphrase_cached">TextSecure Passphrase Cached</string>
|
||||
<string name="textsecure_cached">TextSecure Cached</string>
|
||||
<string name="passphrase_cached">Passphrase Cached</string>
|
||||
|
||||
<!-- MessageNotifier -->
|
||||
<string name="_d_new_messages">(%d) New messages</string>
|
||||
|
@@ -11,4 +11,15 @@
|
||||
<item name="android:backgroundDimEnabled">false</item>
|
||||
<item name="android:background">@android:color/transparent</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
||||
|
||||
<style name="NotificationText">
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="NotificationTitle">
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user