Skip to content

Commit

Permalink
fixed changelog popping up each time on opening the app
Browse files Browse the repository at this point in the history
- candybar-foss number update
- dependecies update
- target and compilesdk update
- Minor strings updates
  • Loading branch information
Donnnno committed Nov 25, 2023
1 parent 5cad8da commit 867ce5e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 16 deletions.
6 changes: 4 additions & 2 deletions app/src/main/res/values/changelog.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="changelog_date" translatable="false">November 7, 2023</string>
<string name="changelog_date" translatable="false">November 25, 2023</string>

<string-array name="changelog">
<item>Added new soical media icons</item>
<item>A fix for the changelogs not showing</item>
<item>A fix for the changelogs showing EVERYTIME</item>
<item>Target and ComplieSDK update</item>
<item>Dependencies update</item>
</string-array>

</resources>
11 changes: 6 additions & 5 deletions app/src/main/res/values/dashboard_configurations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<string name="default_theme">auto</string>

<!-- CONFIG: MUZEI -->
<string name="muzei_art_source_name">CandyBar</string>
<string name="muzei_art_source_name">CandyBar-FOSS</string>
<string name="muzei_art_source_desc">Pleasing wallpapers from CandyBar</string>
<color name="muzei_color">#0082B4</color>

Expand All @@ -35,8 +35,8 @@
<string name="home_image_style">card_landscape</string>
<string name="home_description">
<![CDATA[
CandyBar is an <b>Android Icon Pack Dashboard</b>. It has <i>many features</i>. Backed by the <u>community</u>.
Get it from <a href="https://github.com/zixpo/candybar">GitHub</a>.
CandyBar-FOSS is an <b>Android Icon Pack Dashboard</b>. It has <i>many features</i>. Backed by the <u>community</u>.
Get it from <a href="https://github.com/Donnnno/candybar-foss">GitHub</a>.
]]>
</string>
<string name="rate_and_review_link">https://play.google.com/store/apps/details?id={{packageName}}</string>
Expand Down Expand Up @@ -88,14 +88,15 @@
<string name="about_title">CandyBar \nMaterial Dashboard</string>
<string name="about_desc">
<![CDATA[
CandyBar is an <b>Android Icon Pack Dashboard</b>. It has <i>many features</i>. Backed by the <u>community</u>.
Get it from <a href="https://github.com/zixpo/candybar">GitHub</a>.
CandyBar-FOSS is an <b>Android Icon Pack Dashboard</b>. It has <i>many features</i>. Backed by the <u>community</u>.
Get it from <a href="https://github.com/Donnnno/candybar-foss">GitHub</a>.
]]>
</string>
<string-array name="about_social_links">
<item>https://www.instagram.com/_u/yourusername</item>
<item>https://twitter.com/</item>
<item>https://www.behance.net/</item>
<item>https://matrix.to/</item>
<item>http://github.com/yourusername</item>
<item>http://www.yourwebsite.com</item>
<item>[email protected]</item>
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.1.1'
classpath 'com.android.tools.build:gradle:8.1.4'
}
}

Expand All @@ -20,14 +20,14 @@ allprojects {
rootProject.ext {
def major = 3
def minor = 18
def patch = 5
def patch = 6

VersionCode = major * 10000 + minor * 100 + patch
VersionName = "$major.$minor.$patch"

MinSdk = 21
TargetSdk = 33
CompileSdk = 33
TargetSdk = 34
CompileSdk = 34
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,16 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
File cache = getCacheDir();
FileHelper.clearDirectory(cache);
};
final Runnable onAllChecksCompleted = () -> {
Preferences.get(this).setFirstRun(false);
onNewVersion.run();
};

onAllChecksCompleted.run();

if (Preferences.get(this).isFirstRun()) {
final Runnable onAllChecksCompleted = () -> {
Preferences.get(this).setFirstRun(false);
onNewVersion.run();
};

onAllChecksCompleted.run();
}
}

@Override
Expand Down

0 comments on commit 867ce5e

Please sign in to comment.