File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
app/src/main/kotlin/org/fossify/messages/activities Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88### Added
99- Added "Copy number to clipboard" option inside chat overflow menu ([ #651 ] )
1010
11+ ### Changed
12+ - Made "Add number to contact" option visible for alphanumeric senders ([ #232 ] )
13+
1114### Fixed
1215- Fixed missing notifications in some cases ([ #159 ] )
1316- Fixed incorrect blocking of MMS messages in some rare cases ([ #644 ] )
Original file line number Diff line number Diff line change @@ -370,12 +370,9 @@ class ThreadActivity : SimpleActivity() {
370370 findItem(R .id.manage_people).isVisible = ! isSpecialNumber() && ! isRecycleBin
371371 findItem(R .id.mark_as_unread).isVisible = threadItems.isNotEmpty() && ! isRecycleBin
372372
373- // allow saving number in cases when we don't have it stored yet and it is a casual readable number
373+ // allow saving number in cases when we don't have it stored yet
374374 findItem(R .id.add_number_to_contact).isVisible =
375- participants.size == 1
376- && participants.first().name == firstPhoneNumber
377- && firstPhoneNumber.any { it.isDigit() }
378- && ! isRecycleBin
375+ participants.size == 1 && participants.first().name == firstPhoneNumber && ! isRecycleBin
379376 findItem(R .id.copy_number).isVisible =
380377 participants.size == 1 && ! firstPhoneNumber.isNullOrEmpty() && ! isRecycleBin
381378 }
You can’t perform that action at this time.
0 commit comments