8000 Add icons8 credit · PuffOpenSource/Puff-Android@12101b3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 12101b3

Browse files
committed
Add icons8 credit
1 parent 2a8e97b commit 12101b3

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

app/src/main/java/sun/bob/leela/ui/activities/AboutActivity.java

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package sun.bob.leela.ui.activities;
22

3+
import android.content.Intent;
4+
import android.net.Uri;
35
import android.support.v7.app.AppCompatActivity;
46
import android.os.Bundle;
57
import android.view.View;
@@ -14,19 +16,27 @@ public class AboutActivity extends AppCompatActivity {
1416
protected void onCreate(Bundle savedInstanceState) {
1517
super.onCreate(savedInstanceState);
1618

19+
Element i8Element = new Element("icons8", "Icons from icons8.com",mehdi.sakout.aboutpage.R.drawable.about_icon_link);
20+
i8Element.setOnClickListener(new View.OnClickListener() {
21+
8000 @Override
22+
public void onClick(View v) {
23+
Intent i = new Intent(Intent.ACTION_VIEW);
24+
i.setData(Uri.parse("https://icons8.com"));
25+
startActivity(i);
26+
}
27+
});
28+
1729
View aboutPage = new AboutPage(this)
1830
.isRTL(false)
1931
.setImage(R.drawable.ic_puff)
2032
.setDescription(getString(R.string.about_puff))
21-
// .addGroup("About Bcrypt")
22-
// .addItem(getBcryptElement())
23-
// .addWebsite("http://bcrypt.sourceforge.net/")
2433
.addGroup("Connect with us")
2534
.addEmail("bob.sun@outlook.ie")
2635
.addWebsite("http://bobsun.website/")
2736
.addGitHub("SpongeBobSun")
37+
.addItem(i8Element)
2838
.addGroup("About the name")
29-
.addItem(new Element().setTitle("Blow fish Puffs!"))
39+
.addGroup("Blowfish Puffs!")
3040
.create();
3141

3242
setContentView(aboutPage);

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<string name="about_puff">
1010
"Puff is an open-source offline password manager. \n"
1111
"Puff will never upload your account information to internet.\"
12-
"Puff uses Bcrypt (Blowfish encrypt) to encrypt your account information. \n"
12+
"Puff uses Blowfish algorithm to encrypt your account information. \n"
1313

1414
</string>
1515

0 commit comments

Comments
 (0)
0