File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
java/a/gautham/statusdownloader Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ protected void onCreate(Bundle savedInstanceState) {
4949 super .onCreate (savedInstanceState );
5050 setContentView (R .layout .activity_main );
5151
52+ GetLatestAppVersion getLatestAppVersion = new GetLatestAppVersion ();
53+ getLatestAppVersion .execute ();
54+
5255 MaterialToolbar toolbar = findViewById (R .id .toolbarMainActivity );
5356 TabLayout tabLayout = findViewById (R .id .tabLayout );
5457 viewPager = findViewById (R .id .viewPager );
@@ -186,6 +189,7 @@ protected Object doInBackground(Object[] objects) {
186189
187190 AppUpdater appUpdater = new AppUpdater (MainActivity .this );
188191 appUpdater .setDisplay (Display .DIALOG );
192+ appUpdater .setDialogAlertStyle (R .style .dialogAlertStyle );
189193 appUpdater .setUpGithub ("GauthamAsir" , "WhatsApp_Status_Saver" );
190194 appUpdater .start ();
191195
Original file line number Diff line number Diff line change 1717 <item name =" android:windowExitAnimation" >@android:anim/slide_out_right</item >
1818 </style >
1919
20+ <style name =" dialogAlertStyle" parent =" Theme.AppCompat.Light.Dialog.Alert" >
21+ <item name =" android:windowBackground" >@color/white</item >
22+ </style >
23+
2024</resources >
You can’t perform that action at this time.
0 commit comments