mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
properly set the pre-selected option
This commit is contained in:
parent
82ef0560a5
commit
c0a65e2e9f
1 changed files with 4 additions and 1 deletions
|
@ -104,7 +104,10 @@ public class EphemeralMessagesDialog {
|
||||||
if (timespan < TimeUnit.DAYS.toSeconds(35)) {
|
if (timespan < TimeUnit.DAYS.toSeconds(35)) {
|
||||||
return 6; // 1 week
|
return 6; // 1 week
|
||||||
}
|
}
|
||||||
|
if (timespan < TimeUnit.DAYS.toSeconds(365)) {
|
||||||
return 7; // 5 weeks
|
return 7; // 5 weeks
|
||||||
}
|
}
|
||||||
|
return 8; // 5 weeks
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue