Updated version name and change-log

This commit is contained in:
Prathamesh More 2021-10-06 12:59:20 +05:30
parent df5810a923
commit 5266b86c75
2 changed files with 108 additions and 50 deletions

View file

@ -6,7 +6,7 @@
word-wrap: break-word; word-wrap: break-word;
} }
div{ div {
margin: 20px 10px; margin: 20px 10px;
padding: 10px; padding: 10px;
border-radius: 10px; border-radius: 10px;
@ -16,6 +16,8 @@
h2 { h2 {
margin-block-end: 0rem; margin-block-end: 0rem;
margin-block-start: 0rem; margin-block-start: 0rem;
display: inline-block;
vertical-align: center;
} }
li { li {
@ -35,7 +37,6 @@
span { span {
font-size: 0.7rem; font-size: 0.7rem;
line-height: 0.7rem;
} }
h5 { h5 {
@ -47,58 +48,122 @@
margin: 10px 0px; margin: 10px 0px;
font-size: 1rem; font-size: 1rem;
} }
.tag {
border-radius: 5px;
margin-left: 10px;
padding: 5px;
display: inline-block;
vertical-align: top;
}
{style-placeholder} {style-placeholder}
</style> </style>
</head> </head>
<body> <body>
<h2>
<b>Clear the app if it crashes after updating</b>
</h2>
<div> <div>
<h5>Date</h5>
<h2>v5.1.0<span class="tag"><i>Beta</i></span></h2>
<h3>What's New</h3>
<ul>
<li><b>Material You</b></li>
</ul>
<h3>Improved</h3>
<ul>
<li>Improved Crossfade</li>
</ul>
</div>
<div>
<h5>September 06, 2021</h5> <h5>September 06, 2021</h5>
<h2>v5.0.0</h2> <h2>v5.0.0</h2>
<h3>What's New</h3> <h3>What's New</h3>
<ul> <ul>
<li>Added Chromecast support</li> <li>Added ability to Remember last tab</li>
<li>Added animated icons</li> <li>Added Whitelisting songs</li>
<li>Added cross-fade (experimental)</li> <li>You can now browse SDCard from Folders Tab</li>
<li>Added ability to remember the last tab</li> </ul>
<li>Added whitelisting songs</li> </div>
<li>Added support for embedded synced lyrics</li> <div>
<li>Added lyrics editor for normal and synced lyrics</li> <h5>August 22, 2021</h5>
<li>Added playlist ordering</li> <h2>v4.4.0<span class="tag"><i>Beta</i></span></h2>
<li>Added search filters</li> <h3>What's New</h3>
<li>Added audio fade</li> <ul>
<li>Added Multi-select in album and artist details</li> <li>Added Crossfade</li>
<li>Added SD card from folders tab</li> <li>Multi-select in Album and Artist Details</li>
<li>Added Synced lyrics in all themes</li> <li>Albums now show Album Artists instead of artist of first song</li>
<li>Added Swipe anywhere to change the song</li>
<li>Added album artist</li>
<li> Albums now show album artists instead of artists of the first song</li>
</ul> </ul>
<h3>Fixed</h3> <h3>Fixed</h3>
<ul> <ul>
<li> Fixed playlist preview images</li> <li>Fixed Playlist Preview Images</li>
<li> Fixed language switching</li> </ul>
</div>
<div>
<h5>August 11, 2021</h5>
<h2>v4.2.30<span class="tag"><i>Beta</i></span></h2>
<h3>What's New</h3>
<ul>
<li>Revamped Playlist Tab</li>
<li>Revamped Genres Tab</li>
<li>Added support for embedded Synced Lyrics</li>
<li>Added animated icons</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fixed Language Switching</li>
<li>Fixed some reported bugs</li>
</ul>
</div>
<div>
<h5>July 18, 2021</h5>
<h2>v4.2.020<span class="tag"><i>Beta</i></span></h2>
<h3>What's New</h3>
<ul>
<li>Added ChromeCast Support</li>
<li>Added Lyrics Editor for Normal and Synced Lyrics</li>
<li>Added Ripple Animation for Color Theme</li>
<li>Added Drag to seek in Tiny Theme</li>
<li>Added Playlist Order</li>
<li>Added Search Filters</li>
<li>Added Audio Fade</li>
<li>Synced Lyrics in all Themes</li>
<li>Swipe anywhere to change song</li>
</ul> </ul>
<h3>Improved</h3> <h3>Improved</h3>
<ul> <ul>
<li>Improved playlists tab</li> <li>Fixed Navigate by Album Artist</li>
<li> Improved genres tab</li> <li>Changed New Music Mix Actions</li>
<li>Improved Animations</li>
<li>And some minor bug fixes and improvements</li>
</ul> </ul>
</div> </div>
<!--<h3><span class="colorHeader">Bug fixes</span></h3> <div>
<ul> <h5>October 12, 2020</h5>
<li></li> <h2>v4.0.10</h2>
</ul>--> <h3>What's New</h3>
</body> <ul>
<li>Re-built from scratch using MVVM Architecture and JetPack Components</li>
<li>New Material Design icon</li>
<li>Implemented a custom database for playlists</li>
<li>Added new Material Design motions</li>
<li>Bug fixes & performance improvements</li>
<li>Revamped Home tab UI</li>
<li>Android 11 support</li>
<li>And more!</li>
</ul>
</div>
<div>
<h5>April 30, 2020</h5>
<h2>v3.5.110<span class="tag"><i>Beta</i></span></h2>
<h3>What's New</h3>
<ul>
<li>Changed profile form image to icon</li>
<li>New what's new screen</li>
<li>Added In-App language changer, where you can select language</li>
</ul>
<h3>Improved</h3>
<ul>
<li>Improved loading of Songs, Albums, Artists, Genres, Playlists</li>
</ul>
</div>
</body>

View file

@ -14,7 +14,7 @@ import code.name.monkey.appthemehelper.util.MaterialValueHelper.getPrimaryTextCo
import code.name.monkey.appthemehelper.util.ToolbarContentTintHelper import code.name.monkey.appthemehelper.util.ToolbarContentTintHelper
import code.name.monkey.retromusic.Constants import code.name.monkey.retromusic.Constants
import code.name.monkey.retromusic.R import code.name.monkey.retromusic.R
import code.name.monkey.retromusic.activities.base.AbsBaseActivity import code.name.monkey.retromusic.activities.base.AbsThemeActivity
import code.name.monkey.retromusic.databinding.ActivityWhatsNewBinding import code.name.monkey.retromusic.databinding.ActivityWhatsNewBinding
import code.name.monkey.retromusic.extensions.accentColor import code.name.monkey.retromusic.extensions.accentColor
import code.name.monkey.retromusic.util.PreferenceUtil.lastVersion import code.name.monkey.retromusic.util.PreferenceUtil.lastVersion
@ -24,7 +24,7 @@ import java.io.InputStreamReader
import java.nio.charset.StandardCharsets import java.nio.charset.StandardCharsets
import java.util.* import java.util.*
class WhatsNewActivity : AbsBaseActivity() { class WhatsNewActivity : AbsThemeActivity() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
val binding = ActivityWhatsNewBinding.inflate(layoutInflater) val binding = ActivityWhatsNewBinding.inflate(layoutInflater)
@ -65,15 +65,8 @@ class WhatsNewActivity : AbsBaseActivity() {
) )
val changeLog = buf.toString() val changeLog = buf.toString()
.replace( .replace(
"{style-placeholder}", String.format( "{style-placeholder}",
"body { background-color: %s; color: %s; } li {color: %s;} h3 {color: %s;} .tag {color: %s;} div{background-color: %s;}", "body { background-color: $backgroundColor; color: $contentColor; } li {color: $textColor;} h3 {color: $accentColorString;} .tag {background-color: $accentColorString; color: $accentTextColor; } div{background-color: $cardBackgroundColor;}"
backgroundColor,
contentColor,
textColor,
accentColorString,
accentColorString,
cardBackgroundColor
)
) )
.replace("{link-color}", colorToCSS(accentColor(this))) .replace("{link-color}", colorToCSS(accentColor(this)))
.replace( .replace(