Skip to content

Commit

Permalink
fix bugs, update icon
Browse files Browse the repository at this point in the history
  • Loading branch information
engrpanda committed Apr 22, 2024
1 parent 939cc30 commit 87b2c2e
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 14 deletions.
15 changes: 14 additions & 1 deletion .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ plugins {
}

android {
namespace = "com.ainirobot.wifidirectsettings"
namespace = "com.evo.wifidirectsettings"
compileSdk = 34

defaultConfig {
applicationId = "com.ainirobot.wifidirectsettings"
applicationId = "com.evo.wifidirectsettings"
minSdk = 24
targetSdk = 34
versionCode = 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ainirobot.wifidirectsettings;
package com.evo.wifidirectsettings;

import android.content.Context;

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:icon="@drawable/logo"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ainirobot.wifidirectsettings;
package com.evo.wifidirectsettings;

import android.content.ComponentName;
import android.content.Intent;
Expand Down Expand Up @@ -47,13 +47,10 @@ public void onClick(View v) {
public void onClick(View v) {
// Hide all buttons except Cast
openSettingsActivity("com.android.settings.Settings$WifiDisplaySettingsActivity");
openWifiP2PSettingsButton.setVisibility(View.GONE);
openSettingsButton.setVisibility(View.GONE);
castButton.setVisibility(View.GONE);
wifiButton.setText("opencast");



// openWifiP2PSettingsButton.setVisibility(View.GONE);
// openSettingsButton.setVisibility(View.GONE);
// castButton.setVisibility(View.GONE);
// wifiButton.setText("opencast");
}
});

Expand Down
Binary file added app/src/main/res/drawable/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ainirobot.wifidirectsettings;
package com.evo.wifidirectsettings;

import org.junit.Test;

Expand Down

0 comments on commit 87b2c2e

Please sign in to comment.