Remove privay policy first start dialog

Just done with Huawei's nonsense.
This commit is contained in:
Sylvia van Os
2021-04-06 22:27:03 +02:00
parent 4e043edb64
commit 8b7df8dabe
4 changed files with 8 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ Changes:
- Use letter icon for shortcuts too
- Always show all barcode types in manual entry
- Revert to valid barcode type if the value is not valid for the selected barcode type in edit activity
- Remove privacy policy first start dialog
## v1.12 (2021-03-30)

View File

@@ -101,6 +101,11 @@ public class MainActivity extends AppCompatActivity implements GestureDetector.O
getString(R.string.sharedpreference_privacy_policy_shown),
Context.MODE_PRIVATE);
/*
* This was added for Huawei, but Huawei is just too much of a fucking pain.
* Just leaving this commented out if needed for the future idk
* https://twitter.com/SylvieLorxu/status/1379437902741012483
*
if (privacyPolicyShownPref.getInt(getString(R.string.sharedpreference_privacy_policy_shown), 0) == 0) {
SharedPreferences.Editor privacyPolicyShownPrefEditor = privacyPolicyShownPref.edit();
privacyPolicyShownPrefEditor.putInt(getString(R.string.sharedpreference_privacy_policy_shown), 1);
@@ -117,7 +122,8 @@ public class MainActivity extends AppCompatActivity implements GestureDetector.O
})
.setIcon(android.R.drawable.ic_dialog_info)
.show();
};
}
*/
}
@Override

View File

@@ -4,8 +4,6 @@
<a href="https://play.google.com/store/apps/details?id=me.hackerchick.catima" target="_blank">
<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="90"/></a>
<a href="https://appgallery.huawei.com/#/app/C103806479" target="_blank">
<img src="https://huaweimobileservices.com/wp-content/uploads/2020/05/Explore-it-on-AppGallery.png" alt="Explore it on AppGallery" height="90"/></a>
<a href="https://f-droid.org/repository/browse/?fdid=me.hackerchick.catima" target="_blank">
<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="90"/></a>

View File

@@ -4,8 +4,6 @@ Someone wants to share a card with you. To import this card, you will first need
<a href="https://play.google.com/store/apps/details?id=me.hackerchick.catima" target="_blank">
<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="90"/></a>
<a href="https://appgallery.huawei.com/#/app/C103806479" target="_blank">
<img src="https://huaweimobileservices.com/wp-content/uploads/2020/05/Explore-it-on-AppGallery.png" alt="Explore it on AppGallery" height="90"/></a>
<a href="https://f-droid.org/repository/browse/?fdid=me.hackerchick.catima" target="_blank">
<img src="https://f-droidgitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="90"/></a>