summaryrefslogtreecommitdiffhomepage
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java2
-rw-r--r--app/src/main/java/com/wireguard/android/widget/ToggleSwitch.java (renamed from app/src/main/java/com/wireguard/android/widgets/ToggleSwitch.java)2
-rw-r--r--app/src/main/res/layout/config_detail_fragment.xml2
-rw-r--r--app/src/main/res/layout/config_list_item.xml2
4 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java b/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java
index 3e7a9270..5dfc2d19 100644
--- a/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java
+++ b/app/src/main/java/com/wireguard/android/databinding/BindingAdapters.java
@@ -10,7 +10,7 @@ import android.widget.ListView;
import android.widget.TextView;
import com.wireguard.android.R;
-import com.wireguard.android.widgets.ToggleSwitch;
+import com.wireguard.android.widget.ToggleSwitch;
/**
* Static methods for use by generated code in the Android data binding library.
diff --git a/app/src/main/java/com/wireguard/android/widgets/ToggleSwitch.java b/app/src/main/java/com/wireguard/android/widget/ToggleSwitch.java
index 667cfe53..c8f9ab2d 100644
--- a/app/src/main/java/com/wireguard/android/widgets/ToggleSwitch.java
+++ b/app/src/main/java/com/wireguard/android/widget/ToggleSwitch.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.wireguard.android.widgets;
+package com.wireguard.android.widget;
import android.content.Context;
import android.util.AttributeSet;
diff --git a/app/src/main/res/layout/config_detail_fragment.xml b/app/src/main/res/layout/config_detail_fragment.xml
index f5cd2acb..cf6fdaaf 100644
--- a/app/src/main/res/layout/config_detail_fragment.xml
+++ b/app/src/main/res/layout/config_detail_fragment.xml
@@ -44,7 +44,7 @@
android:layout_toStartOf="@+id/config_switch"
android:text="@string/status" />
- <com.wireguard.android.widgets.ToggleSwitch
+ <com.wireguard.android.widget.ToggleSwitch
android:id="@+id/config_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
diff --git a/app/src/main/res/layout/config_list_item.xml b/app/src/main/res/layout/config_list_item.xml
index 207f95ef..90e696a4 100644
--- a/app/src/main/res/layout/config_list_item.xml
+++ b/app/src/main/res/layout/config_list_item.xml
@@ -36,7 +36,7 @@
android:text="@{key}"
android:textStyle="@{item.primary ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT}" />
- <com.wireguard.android.widgets.ToggleSwitch
+ <com.wireguard.android.widget.ToggleSwitch
android:id="@+id/config_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"