Loading app/src/main/java/app/fedilab/android/helper/Helper.java +1 −1 Original line number Diff line number Diff line Loading @@ -1752,7 +1752,7 @@ public class Helper { is.close(); String json = new String(buffer, StandardCharsets.UTF_8); Gson gson = new Gson(); AlertDialog.Builder dialogBuilderOptin = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilderOptin = new AlertDialog.Builder(activity, Helper.dialogStyle()); PopupReleaseNotesBinding binding = PopupReleaseNotesBinding.inflate(activity.getLayoutInflater()); dialogBuilderOptin.setView(binding.getRoot()); try { Loading app/src/main/java/app/fedilab/android/helper/MediaHelper.java +2 −2 Original line number Diff line number Diff line Loading @@ -293,7 +293,7 @@ public class MediaHelper { AudioRecorder mAudioRecorder = AudioRecorder.getInstance(); File mAudioFile = new File(filePath); PopupRecordBinding binding = PopupRecordBinding.inflate(activity.getLayoutInflater()); AlertDialog.Builder audioPopup = new AlertDialog.Builder(activity); AlertDialog.Builder audioPopup = new AlertDialog.Builder(activity, Helper.dialogStyle()); audioPopup.setView(binding.getRoot()); AlertDialog alert = audioPopup.create(); alert.show(); Loading Loading @@ -341,7 +341,7 @@ public class MediaHelper { * @param listener - OnSchedule */ public static void scheduleMessage(Activity activity, OnSchedule listener) { AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); DatetimePickerBinding binding = DatetimePickerBinding.inflate(activity.getLayoutInflater()); dialogBuilder.setView(binding.getRoot()); Loading app/src/main/java/app/fedilab/android/helper/PinnedTimelineHelper.java +7 −7 Original line number Diff line number Diff line Loading @@ -680,7 +680,7 @@ public class PinnedTimelineHelper { itemShowReplies.setChecked(show_replies); editor.apply(); } else if (itemId == R.id.action_filter) { AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); LayoutInflater inflater = activity.getLayoutInflater(); View dialogView = inflater.inflate(R.layout.popup_filter_regex, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -869,7 +869,7 @@ public class PinnedTimelineHelper { e.printStackTrace(); } } else if (itemId == R.id.action_any) { AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); LayoutInflater inflater = activity.getLayoutInflater(); View dialogView = inflater.inflate(R.layout.tags_any, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -898,7 +898,7 @@ public class PinnedTimelineHelper { LayoutInflater inflater; View dialogView; AlertDialog alertDialog; dialogBuilder = new AlertDialog.Builder(activity); dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); inflater = activity.getLayoutInflater(); dialogView = inflater.inflate(R.layout.tags_all, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -927,7 +927,7 @@ public class PinnedTimelineHelper { LayoutInflater inflater; View dialogView; AlertDialog alertDialog; dialogBuilder = new AlertDialog.Builder(activity); dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); inflater = activity.getLayoutInflater(); dialogView = inflater.inflate(R.layout.tags_all, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -956,7 +956,7 @@ public class PinnedTimelineHelper { LayoutInflater inflater; View dialogView; AlertDialog alertDialog; dialogBuilder = new AlertDialog.Builder(activity); dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); inflater = activity.getLayoutInflater(); dialogView = inflater.inflate(R.layout.tags_name, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -1144,7 +1144,7 @@ public class PinnedTimelineHelper { } }); changes[0] = true; AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); LayoutInflater inflater = activity.getLayoutInflater(); View dialogView = inflater.inflate(R.layout.tags_instance, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -1228,7 +1228,7 @@ public class PinnedTimelineHelper { if (remoteInstance == null) return; String accounts = remoteInstance.host; AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); LayoutInflater inflater = activity.getLayoutInflater(); View dialogView = inflater.inflate(R.layout.tags_any, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading app/src/main/res/layout/drawer_reorder.xml +8 −6 Original line number Diff line number Diff line Loading @@ -5,7 +5,8 @@ android:layout_height="wrap_content" android:clickable="true" android:focusable="true" android:foreground="?selectableItemBackground"> android:background="?colorSurface" android:foregroundTint="?android:colorBackground"> <androidx.appcompat.widget.LinearLayoutCompat android:layout_width="match_parent" Loading @@ -13,15 +14,16 @@ android:layout_margin="10dp" android:orientation="horizontal"> <ImageView <androidx.appcompat.widget.AppCompatImageView android:id="@+id/icon" android:layout_width="40dp" android:layout_height="40dp" android:layout_gravity="center" tools:src="@drawable/ic_baseline_home_24" android:contentDescription="@string/instance_logo" android:scaleType="center" /> <TextView <androidx.appcompat.widget.AppCompatTextView android:id="@+id/text" android:layout_width="0dp" android:layout_height="wrap_content" Loading @@ -29,7 +31,7 @@ android:layout_weight="1" /> <ImageView <androidx.appcompat.widget.AppCompatImageView android:id="@+id/hide" android:layout_width="40dp" android:layout_height="40dp" Loading @@ -39,7 +41,7 @@ android:src="@drawable/ic_baseline_visibility_off_24" tools:ignore="RtlHardcoded" /> <ImageView <androidx.appcompat.widget.AppCompatImageView android:id="@+id/delete" android:layout_width="40dp" android:layout_height="40dp" Loading @@ -50,7 +52,7 @@ android:visibility="gone" tools:ignore="RtlHardcoded" /> <ImageView <androidx.appcompat.widget.AppCompatImageView android:id="@+id/handle" android:layout_width="40dp" android:layout_height="40dp" Loading Loading
app/src/main/java/app/fedilab/android/helper/Helper.java +1 −1 Original line number Diff line number Diff line Loading @@ -1752,7 +1752,7 @@ public class Helper { is.close(); String json = new String(buffer, StandardCharsets.UTF_8); Gson gson = new Gson(); AlertDialog.Builder dialogBuilderOptin = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilderOptin = new AlertDialog.Builder(activity, Helper.dialogStyle()); PopupReleaseNotesBinding binding = PopupReleaseNotesBinding.inflate(activity.getLayoutInflater()); dialogBuilderOptin.setView(binding.getRoot()); try { Loading
app/src/main/java/app/fedilab/android/helper/MediaHelper.java +2 −2 Original line number Diff line number Diff line Loading @@ -293,7 +293,7 @@ public class MediaHelper { AudioRecorder mAudioRecorder = AudioRecorder.getInstance(); File mAudioFile = new File(filePath); PopupRecordBinding binding = PopupRecordBinding.inflate(activity.getLayoutInflater()); AlertDialog.Builder audioPopup = new AlertDialog.Builder(activity); AlertDialog.Builder audioPopup = new AlertDialog.Builder(activity, Helper.dialogStyle()); audioPopup.setView(binding.getRoot()); AlertDialog alert = audioPopup.create(); alert.show(); Loading Loading @@ -341,7 +341,7 @@ public class MediaHelper { * @param listener - OnSchedule */ public static void scheduleMessage(Activity activity, OnSchedule listener) { AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); DatetimePickerBinding binding = DatetimePickerBinding.inflate(activity.getLayoutInflater()); dialogBuilder.setView(binding.getRoot()); Loading
app/src/main/java/app/fedilab/android/helper/PinnedTimelineHelper.java +7 −7 Original line number Diff line number Diff line Loading @@ -680,7 +680,7 @@ public class PinnedTimelineHelper { itemShowReplies.setChecked(show_replies); editor.apply(); } else if (itemId == R.id.action_filter) { AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); LayoutInflater inflater = activity.getLayoutInflater(); View dialogView = inflater.inflate(R.layout.popup_filter_regex, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -869,7 +869,7 @@ public class PinnedTimelineHelper { e.printStackTrace(); } } else if (itemId == R.id.action_any) { AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); LayoutInflater inflater = activity.getLayoutInflater(); View dialogView = inflater.inflate(R.layout.tags_any, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -898,7 +898,7 @@ public class PinnedTimelineHelper { LayoutInflater inflater; View dialogView; AlertDialog alertDialog; dialogBuilder = new AlertDialog.Builder(activity); dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); inflater = activity.getLayoutInflater(); dialogView = inflater.inflate(R.layout.tags_all, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -927,7 +927,7 @@ public class PinnedTimelineHelper { LayoutInflater inflater; View dialogView; AlertDialog alertDialog; dialogBuilder = new AlertDialog.Builder(activity); dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); inflater = activity.getLayoutInflater(); dialogView = inflater.inflate(R.layout.tags_all, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -956,7 +956,7 @@ public class PinnedTimelineHelper { LayoutInflater inflater; View dialogView; AlertDialog alertDialog; dialogBuilder = new AlertDialog.Builder(activity); dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); inflater = activity.getLayoutInflater(); dialogView = inflater.inflate(R.layout.tags_name, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -1144,7 +1144,7 @@ public class PinnedTimelineHelper { } }); changes[0] = true; AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); LayoutInflater inflater = activity.getLayoutInflater(); View dialogView = inflater.inflate(R.layout.tags_instance, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading Loading @@ -1228,7 +1228,7 @@ public class PinnedTimelineHelper { if (remoteInstance == null) return; String accounts = remoteInstance.host; AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity); AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity, Helper.dialogStyle()); LayoutInflater inflater = activity.getLayoutInflater(); View dialogView = inflater.inflate(R.layout.tags_any, new LinearLayout(activity), false); dialogBuilder.setView(dialogView); Loading
app/src/main/res/layout/drawer_reorder.xml +8 −6 Original line number Diff line number Diff line Loading @@ -5,7 +5,8 @@ android:layout_height="wrap_content" android:clickable="true" android:focusable="true" android:foreground="?selectableItemBackground"> android:background="?colorSurface" android:foregroundTint="?android:colorBackground"> <androidx.appcompat.widget.LinearLayoutCompat android:layout_width="match_parent" Loading @@ -13,15 +14,16 @@ android:layout_margin="10dp" android:orientation="horizontal"> <ImageView <androidx.appcompat.widget.AppCompatImageView android:id="@+id/icon" android:layout_width="40dp" android:layout_height="40dp" android:layout_gravity="center" tools:src="@drawable/ic_baseline_home_24" android:contentDescription="@string/instance_logo" android:scaleType="center" /> <TextView <androidx.appcompat.widget.AppCompatTextView android:id="@+id/text" android:layout_width="0dp" android:layout_height="wrap_content" Loading @@ -29,7 +31,7 @@ android:layout_weight="1" /> <ImageView <androidx.appcompat.widget.AppCompatImageView android:id="@+id/hide" android:layout_width="40dp" android:layout_height="40dp" Loading @@ -39,7 +41,7 @@ android:src="@drawable/ic_baseline_visibility_off_24" tools:ignore="RtlHardcoded" /> <ImageView <androidx.appcompat.widget.AppCompatImageView android:id="@+id/delete" android:layout_width="40dp" android:layout_height="40dp" Loading @@ -50,7 +52,7 @@ android:visibility="gone" tools:ignore="RtlHardcoded" /> <ImageView <androidx.appcompat.widget.AppCompatImageView android:id="@+id/handle" android:layout_width="40dp" android:layout_height="40dp" Loading