mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-04 00:37:14 -08:00
Replace general resources with platform
This commit is contained in:
@@ -68,7 +68,7 @@ public class DownloadActivity extends Activity {
|
||||
.setCancelable(false)
|
||||
.setTitle(R.string.app_name)
|
||||
.setMessage(R.string.no_internet_msg)
|
||||
.setNegativeButton(R.string.ok, (d, w) -> finish())
|
||||
.setNegativeButton(android.R.string.ok, (d, w) -> finish())
|
||||
.show();
|
||||
}
|
||||
}
|
||||
@@ -84,8 +84,8 @@ public class DownloadActivity extends Activity {
|
||||
.setCancelable(false)
|
||||
.setTitle(R.string.app_name)
|
||||
.setMessage(R.string.upgrade_msg)
|
||||
.setPositiveButton(R.string.yes, (d, w) -> dlAPK())
|
||||
.setNegativeButton(R.string.no_thanks, (d, w) -> finish())
|
||||
.setPositiveButton(android.R.string.yes, (d, w) -> dlAPK())
|
||||
.setNegativeButton(android.R.string.no, (d, w) -> finish())
|
||||
.show();
|
||||
} catch (JSONException e) {
|
||||
finish();
|
||||
|
||||
Reference in New Issue
Block a user