@@ -33,6 +33,7 @@ protected void onCreate(Bundle savedInstanceState) {
33
33
.addItem (new Element ().setTitle (getResources ().getString (R .string .version ) + " " + BuildConfig .VERSION_NAME ))
34
34
.addGroup (getResources ().getString (R .string .connect ))
35
35
.addGitHub ("Sw24Softwares/StarkeVerben" )
36
+ .addItem (addGitter ("Sw24Softwares/StarkeVerben" ))
36
37
.addWebsite ("https://sw24softwares.github.io/" );
37
38
aboutPage = setUpDependencies (aboutPage );
38
39
aboutPage = setUpDevelopers (aboutPage );
@@ -46,7 +47,7 @@ protected AboutPage setUpDependencies(AboutPage ap) {
46
47
ap .addItem (addDependencies ("Pulsator4Droid" ,"https://github.com/booncol/Pulsator4Droid" ));
47
48
ap .addItem (addDependencies ("BottomNavigation" ,"https://github.com/Ashok-Varma/BottomNavigation" ));
48
49
ap .addItem (addDependencies ("Android About Page" ,"https://github.com/medyo/android-about-page" ));
49
- ap .addItem (addDependencies ("Material Design" , "https://material.io" ));
50
+ ap .addItem (addDependencies ("Material Design Icons " , "https://material.io/icons " ));
50
51
return ap ;
51
52
}
52
53
protected Element addDependencies (final String title , final String link ) {
@@ -69,4 +70,13 @@ protected Element addDeveloper(final String title, final String link, final Inte
69
70
.setIntent (new Intent (Intent .ACTION_VIEW , Uri .parse (link )));
70
71
return elem ;
71
72
}
73
+
74
+ protected Element addGitter (final String link ) {
75
+ Element elem = new Element ()
76
+ .setTitle ("Gitter" )
77
+ .setIconDrawable (R .drawable .gitter )
78
+ .setAutoApplyIconTint (false )
79
+ .setIntent (new Intent (Intent .ACTION_VIEW , Uri .parse ("https://gitter.im/" + link )));
80
+ return elem ;
81
+ }
72
82
}
0 commit comments